» tagged pages
» logout

sorted by: recent | see : popular
Content Tagged with Groovy + languages

Java, Groovy & JavaFx: side by side 1

While experimenting with JavaFx Script I encountered a few gotchas switching from Java/Groovy, mostly related to my preconceptions of the language itself. Even though it is JVM language built with Java, being an specialized language for declarative UI building doesn't mean it will follow Java's steps all the way, nor other modern features brought into the JVM by Groovy. The following table summarizes many of the orthogonal features of the three languages, it is not a complete reference for any of them. The "official draft" of the JavaFX™ Script Programming Language Reference was used to learn more about the it. Disclaimer: I know Groovy better than JavaFx Script, if someone spots a mistake please let me know

technology: dzone.com: tech links

jSilhouette: demo screenshots and code

jSilhouette includes a demo application for each one of its subprojects (geom, scene & jfx) showing the shapes in action. This post is a recollection of what happened during the time those applications were developed and what lessons I learned while doing so.

technology: dzone.com: tech links

“For” hack with Option monad in Java

There has been some discussion going on in the blogosphere about monads, and especially about the Haskell Maybe monad or the Scala option class. Those are ways to prevent problems with NULL and NPEs that Java lacks. A Java Option implementation is more verbose but can be reduced sometimes with using "for" and Iterable.

technology: dzone.com: tech links

Groovy or Scala? Don't be a Boiled Frog!

Both! Groovy is a fabulous language. Just read Groovy In Action and some of the other Groovy books. Just about every page brought a Wow response from this Java developer. And the Grails web stack builds on Groovy to provide a quick and powerful website building experience.

technology: dzone.com: tech links

New language for this year

One of the tenants of the Pragmatic Programmer is to learn at least one new language every year. What language should you learn this year?

technology: dzone.com: tech links

Don't create objects, build them

I like the Groovy concept of builders not only for providing a natural implementation of the builder pattern, but you can also look at builders as a way to create handy DSLs. Check out the SwingBuilder, the GraphicsBuilder or the Hibernate Criteria Builder to see how well targeted these DSLs can be.

technology: dzone.com: tech links

N-BRAIN's UNA Now Supports Groovy, Scala, Fan

The freely-available development environment UNA receives support for three new JVM languages: Groovy, Scala, and Fan.

technology: dzone.com: tech links

Don't call it a static or dynamic typed language!

I don't think the use of statically typed or dynamically typed language is particularly useful or informative. I think a much better term is 'implicitly typed' or 'explicitly typed'. I go into alot more detail in the blog entry referenced in the link. I am a groovy proponent so all the examples compare Java and Groovy, but I would love to hear from people using dynamically/implicitly typed languages on the JVM in general.

technology: dzone.com: tech links

Comparing closures in Java, Groovy and Scala

On Paul's return from JavaOne this year, we spoke about Neal Gafter's Closures Cookbook talk. From what I understood, this was a look at the BGGA closures proposal, and contained an example that pushed hard on some of the tougher closure issues for Java. I thought it might be fun to look at the Java example from the talk, and covert it to Scala and Groovy.

technology: dzone.com: tech links

Java, Groovy & Scala: side to side 2

Second part of the series, (first part here). Thanks a lot to Daniel Spiewak who took the time to expand the topics presented about Scala. Without further ado...

technology: dzone.com: tech links

How many times are we going to "kill" Java?

Short answer: as many times as needed until polyglot programming really sinks in. Every day or so a new post on Java's demise appears, this has been happening for quite a while, but the truth is that Java (the language) has a lot of life in the years to come (after all COBOL and C++ are still around), the question is would still be the dominant language in the JVM?

technology: dzone.com: tech links

JRuby Won & It Was Fun

One interesting session at JavaOne 2008 was hosted by Raghavan aka Rags from Sun Microsystems. The session was called the Script Bowl and was a war between the scripting gurus from Groovy, JRuby, Jython and Scala. All the four languages are dynamic scripting languages that run on the JVM. LaForge represented Groovy, Nutter represented JRuby, Wierzbicki represented Jython and Jorge Ortiz represented Scala...

technology: dzone.com: tech links

JavaOne Update - Day Three

It is simply amazing how many people and how much energy is at JavaOne. All of the movers and shakers of the industry are here to give out sage words of wisdom. Listen to this lighthearted overview of day two and three of JavaOne.

technology: dzone.com: tech links

ProjectEuler problem 1 in C, Groovy, Lisp, Perl, Python, and Ruby

My blog post about the first problem in Project Euler went strange places. I was just trying to learn Python by solving a barely non-trivial problem. Maybe it was a full moon, not sure, but it wound up in a tangle of gcc, groovyc, and .elc. Happily, some good performance improvements were suggested and I've tried to incorporate them below.

technology: dzone.com: tech links

Groovy’s Performance is Not Subjective

Ah, the saga of misinterpreted micro-benchmarks! Developers advocating one technology over another have long used micro-benchmarks and trivial examples to illustrate their point. This is most often seen in the area of language implementation, where performance is a critical (and often emotional) consideration. The great language shootout is a good example of this.

technology: dzone.com: tech links

Hanging out with James Gosling in Canberra

One thing question that was asked (weirdly enough, not by me), was about with the recent hires around JRuby & Jython, is Sun sidelining Groovy?

technology: dzone.com: tech links

A Groovy interview at JavaPolis'07

Guillaume Laforge, Groovy project lead, answers questions from the JavaPosse team, recorded at JavaPolis 2007 in Belgium.

technology: dzone.com: tech links

Handling a call to a missing method in different languages, Part 1

This is the first of a two-part series of posts about the way different languages allow you to handle a call to method that doesn't exist. I'll try to implement a little example with each of these languages. For this part I'm going to show Ruby, Smalltalk, Groovy and Boo.

technology: dzone.com: tech links

Arkanoid Using Torque 2D

I found myself trying to create an Arkanoid clone in Flex, and found found GarageGames’ excellent product, Torque Game Builder. I've put together a quick test that uses rigid-body physics, particles, three parallax scrolling layers and a rotating paddle. It's quite fun, actually, and will hopefully end up becoming a real game.

technology: dzone.com: tech links

Flex on Grails: Introducing the Grails Flex plugin

I haven't touched this blog for the past months as life has been very busy since my son was born. But now it's time agains, as I released the Grails Flex Plugin today.

technology: dzone.com: tech links

Dynamic Languages Toolkit

Dynamic Languages Toolkit (DLTK) is a tool for vendors, researchers, and end-users who rely on dynamic languages. DLTK is comprised of a set of extensible frameworks designed to reduce the complexity of building full featured development environments for

Eclipse: del.icio.us/tag/eclipse

Stephen Colebourne's Weblog - Closures - Outside Java

Trying to agree semantics for closures in Java isn't easy. Maybe we should look at what some other Java-like languages have done - Nice, Groovy and Scala.

scala: del.icio.us/tag/scala

Page 1 | Next >>