Old habits die-hard, I’m still tempted to put semi colons and curly braces in my Ruby code. This is what happens when you are coding in two different languages.
Ever since I started programming in Ruby, I’m forgetting to declare the access modifier in front of my methods and other times I didn’t bother declaring a main method, I just started writing code in the middle of the class wondering why Eclipse is drawing red lines under my code.
I experienced the same problems when I was coding in C++ and Perl at work, and it took about a year to get over it. At least then I was using a different IDE, lately I’ve used Eclipse for both Ruby and Java development and there’s nothing to remind me that I’ve started coding in a different language.
Maybe this is a sign that I should look into JRuby.
Related posts:





What do you think of Groovy (JSR 241) by the way?
I haven’t had the time to look into it with any degree of seriousness yet, but it does look very interesting.
-SP
Senor Pablo - 26 Oct 06 at 2:49 pm
Groovy seems pretty cool, it has some snazzy modules that make building Web Services or data access layers super easy, it’s fun to play with but I haven’t used it for anything serious.
If I had to choose between Groovy and Ruby, I chose Ruby.
Shey - 26 Oct 06 at 9:48 pm
“If I had to choose between Groovy and Ruby, I chose Ruby.”
Having looked at the Groovy spec a little bit more, I concur. What’s odd is that the final language syntax is _worse_ than the beta’s. *shrug*
Nevertheless, Sun should have released Groovy (or something like it) concurrently with the core Java language back in 1995. Not every project requires layers upon layers of (often redundant) architecture…
Senor Pablo - 28 Oct 06 at 9:09 am