This thread has been fascinating, because others have expressed exactly
my thoughts. I have a lengthy background in C/C++, and some Java and
C#. All
of which are strongly typed languages. As someone else said, I really
like when the compiler knows the difference between an int and a cat.
I really *want* to like doing web apps in Java. Aside from the strong
typing, java is a proven technology actively used on big sites.
But for the new web developer (even someone like me who has developed
other types of software for a long time) the Java web world is...scary.
Java. Struts. Ant. Maven. Hibernate. Tiles. JUnit. Eclipse.
Tomcat. Servlets. JSPs.
I have used RoR for a couple of months. I'm still not sold on the
"ruby" part of RoR (but maybe I just need more time) but the two big
advantages (to me) are:
* RoR is full stack. I can read one book and have a reasonable
command of the complete web-app process.
* RoR takes zero-configuration to the extreme. Granted, sometimes
this can bite the beginner, but generally this is really nice.
James Mitchell wrote:
I believe it's a combination of both. Coding in ruby changes the way
you think about problem solving. It really does. Of course, I'm sure
we all said the same thing about Java when we first picked it up ;)
Given a specific problem to tackle, I could easily write the same
number of lines of ruby as I would in Java if I chose to. If I
continue to "think in Java", my ruby code will look (structurally)
like Java. That's actually a natural progression that people will
make as they learn to "think in Ruby". There are so many more ways to
reduce your code in Ruby than in Java, without taking away or hiding
what you intended to do. It really takes me aback sometimes, almost
to the point of disbelief. I struggle getting to optimal code
structure because I'm so used to being verbose with Java.
Sorry, I'm not trying to push Ruby on you guys, I just want to be
honest about my experience.
--
James Mitchell
The Ruby Roundup
http://www.rubyroundup.com/
On Mar 19, 2007, at 6:53 PM, Ted Husted wrote:
On 3/19/07, James Mitchell <[EMAIL PROTECTED]> wrote:
If you ever do get the Agile Web Development with Rails book or pdf
and build the Depot app along with the book, you'll be asking
yourself why anyone does anything other than Rails. You've been
warned!
Do you credit Rails with that, or that Ruby is not verbose, so that
there are fewer lines of code?
-Ted.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]