> indeed the people I work with have recently switched from Ruby to
> Python for the wrapper scripts and batch jobs we write - people like
> it better because of the cleanliness of the code.

Purely anecdotal.  My anecdotes are many of my friends (generally the
cutting edge, very talented start-up types) have switched from java to
ruby.  In fact some of the big names in the Ruby community are java to
ruby converts (James Duncan Davidson - creator of Tomcat/Ant, Chad
Fowler, Bruce Tate, Tim Bray - creator of XML).  And it has a fair
share of Python to Ruby converts (Bruce Williams
http://codefluency.com/2008/12/26/revisiting-python.html).

I personally use Java and some Groovy at work.  And a mix of Java/
JRuby/Objective C for my personal projects(right now anyway).

I think usage depends on the community - start-up community does a ton
of ruby stuff.  Enterprise - very little adoption, except for a few
greenfield projects.

>I tried to use it on a system with an established database and things like 
>compound primary keys, and did not have much luck at all
Anyone who doesn't use an integer primary key is making their life
very difficult.  But if you are stuck with an outdated, brain-dead DBA
who won't move to the best practices of the 90s then I guess you can't
do anything about that.  Sorry, compound primary keys are a huge pet-
peeve of mine and I can't help but give my opinion on it.
But anyway, ya - AR isn't that great for a legacy DB (I just write
findBySQL and make use of the dynamic methods, but most people like
the fancy ORM stuff).  In ruby, datamapper is better for the ORM stuff
like you are talking about:  http://datamapper.org/doku.php

Dick, am I right that your distaste for Ruby is driven by all the ruby
fan boys from a few years ago trashing java?  I remember at RailsConf
2007 Chad Fowler gave a keynote and told the audience that everyone
outside the ruby community thought ruby programmers were "assholes".
And to chill out and be respectful.  Think it's better now than 3
years ago, but Java is still largey loathed in the ruby community.
They think of Java as an overly verbose, constrained language, bound
to 1000s of xml files.  Which may be somewhat true, but they prefer
writing C code for performance?  That makes no sense.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to