The Artima Developer Community
Sponsored Link

Java Buzz Forum
Getting excited about Groovy again

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
dion

Posts: 5028
Nickname: dion
Registered: Feb, 2003

Dion Almaer is the Editor-in-Chief for TheServerSide.com, and is an enterprise Java evangelist
Getting excited about Groovy again Posted: Nov 20, 2004 3:29 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by dion.
Original Post: Getting excited about Groovy again
Feed Title: techno.blog(Dion)
Feed URL: http://feeds.feedburner.com/dion
Feed Description: blogging about life the universe and everything tech
Latest Java Buzz Posts
Latest Java Buzz Posts by dion
Latest Posts From techno.blog(Dion)

Advertisement
Although I am using Groovy and enjoying it, I will admit to being a bit worried about it. It has fantastic potential, but I didn't know if it would have the push to get there. It is always tough if you are developing open source without a company(ies) behind you. The Groovy London Meetup has just finished (I wish I could have gotten over there), and I am really excited at what I see. They have ironed out some of the wrinkles in the language, and should be set to use Janino and tools for the parser. Good error messages should be here. The Java platform is a good one. Where I listen to Miguel talk about Mono and platform vs. language, it reasonates. We can have the same thing with Java. Groovy is just one of these languages, and we have a choice of the tool for the particular solution! Let's get Groovy and finish it up! A few langauge changes // these are all valid def x = 1 String x = 1 def String x = 1 def x String x // however these are invalid declarations of a variable as it could be a typeo x = 1 x OR: Maybe the 'any' keyword will be chosen (my preference): - defining intialized variables/fields: String foo = "wombat" Integer i = 45 any bar = "gizmo" - defining methods: void someMethod() { ... } any someOtherMethod() { ... } String someStringMethod() { ... } return is not optional UNLESS your block has only one expression foo() { println 5 +5 // compile error as this is a dumb expression } would generate a compile error. It must be one of these instead... foo() { println 5+ 5 } foo() { println 5 +5 } foo() { println 5 return +5 }

Read: Getting excited about Groovy again

Topic: Spring Live - First Impression Previous Topic   Next Topic Topic: ClientJava.com Links(6) - JetBee Goes Open Source, JIDE 1.6 Released, Looking Glass Interview

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use