Win a copy of Transfer Learning for Natural Language Processing (MEAP) this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Paul Clapham
  • Devaka Cooray
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Knute Snortum
  • Liutauras Vilda
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Piet Souris
Bartenders:
  • salvin francis
  • Carey Brown
  • Frits Walraven

Rails/Ruby vs. Grails/Groovy

 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

Why should/would developer that already know Java, JSP/Servlets, Struts learn Rails/Ruby if there is another Java like(curly braces) dynamic language that is compiled to Java bytecode, works with other Java code and libraries...?

Or shorter: why should I buy your book?
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Well, JRuby gives you the Ruby programming language compiled into Java bytecode, executable in any regular JVM.

Oh, and Ruby does have curly braces
 
Greenhorn
Posts: 25
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To me, Ruby is a very simple language in which it removes many of the headaches and annoyances from programming that other languages such as Java bring to the table. Such as declaring datatypes is made much simpler in Ruby. Ruby removes many of these slight annoyances that make it much more pleasant to write code in. Java has many many rules that can affect the outcome of code to a beginner or even some advanced programmers that are not aware of these rules or idiosyncrasies of the language but in Ruby mostly everything works the way it is supposed to even for the beginner.

I guess what I'm saying is that Ruby is so natural that you spend your time not thinking of how to code, implement, or get something working with the language that you are using but spending your time actually getting ideas from your head to the computer in a fast and efficient way.
 
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've just started with Ruby and Rails but I'd say a likely candidate for RoR, and why you'd want to read this excellent book. is someone like me who comes from a Perl background and likes the speed and brevity of it compared to Java, but who also has done some Java programming with Servlets and JSP and sees the value of a predictable config files, directory structure, exposure to server environment, session management, etc. In other words at this beginning stage it seems like a wonderful combination of some of the strengths of Perl and Java. I'm not deep enough into it yet to see how it's error checking compares to the robust error-checking of Java and "what do you mean by error-checking" of perl.

I've never paid any attention to "Agile" programming but from what I've read of this book it makes a lot of sense for some projects and ROR seems like a great way to do it.
 
These are the worst of times and these are the best of times. And this is the best tiny ad:
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic