The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Java Programmers to Syntax Familiar Is

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
Chad Fowler

Posts: 408
Nickname: chadfowler
Registered: Apr, 2003

A programmer, musician, and language addict.
Java Programmers to Syntax Familiar Is Posted: Mar 19, 2004 3:09 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Chad Fowler.
Original Post: Java Programmers to Syntax Familiar Is
Feed Title: ChadFowler.com
Feed URL: http://feeds2.feedburner.com/Chadfowlercom
Feed Description: Best practices, worst practices, and some generally obvious stuff about programming.
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Chad Fowler
Latest Posts From ChadFowler.com

Advertisement
Richard Monson-Haefel writes about how Groovy is being proposed as an "official" language for the JVM. It would definitely be nice to have a dynamic language "officially" supported on the JVM by Sun. I might even sneak it into a project or two while nobody’s looking.

But the thing that really caught my attention was this excerpt from the "Why Groovy?" rationale, defending its choice over Jython or JRuby:

  ..is the best choice because it was built from the ground up for
  the Java Platform and uses syntax that is familiar to Java developers..

Glenn and I were chatting a couple of mornings ago about AppleScript and how it’s said to be "easy to use", because it’s so much like English. The problem, though, is that it looks like English and feels like English (sort of), but it’s not English. My brain wants it to be English and I end up typing English phrases into the editor that don’t parse. Incidentally, as someone who is very familiar with Java, I have the same problem on occasion with JavaScript (here's why you should use Groovy instead of JavaScript). It confused me because it looked like Java, but it wasn’t Java.

The point of adding Groovy as an "officially" supported language for the JVM would be to allow programmers to think and do things differently than they can with the Java language. If the language is so semantically different, why struggle to make it syntactically similar? Why not let a different thing actually look different?

It’s good to be uncomfortable on occasion. It shows you that you’re growing.

Read: Java Programmers to Syntax Familiar Is

Topic: A Little Ruby, A Lot of Objects Previous Topic   Next Topic Topic: Ruby 1.9.0 RDocs Online

Sponsored Links



Google
  Web Artima.com   

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