[Baypiggies] Official Language War Thread? - Rails vs. Turbogears.

Alex Martelli aleax at google.com
Thu Dec 1 20:04:31 CET 2005


On 12/1/05, Deirdre Saoirse Moen <deirdre at deirdre.net> wrote:
   ...
> One of the examples from the above chapter:
>
>      ['toast', 'cheese', 'wine'].each { |food| print food.capitalize }

Sure, but the Python style of coding this:

for food in 'toast','cheese','wine': print food.capitalize()

is hardly problematic, either.  I am by now convinced that in terms of
features in the languages proper (and accompanying standard libraries)
there's not much in it either way.  I don't know enough details about
Rails on one side, versus (say) TurboGears OR Django on the other, and
haven't done enough work recently in this specific area, to be able to
give sound advice; I do know I'd strongly suggest Python for, say, any
networking application area where Twisted might help (I've used a huge
variety of asynchronous programming approaches, and Twisted's most
definitely the best), or any subset of Numeric, scipy and gmpy, or
Mac-specific application programming (with PyObjC), and so on.  In
other words, choosing on the basis of your evaluation of specific
frameworks/extensions you could use, and/or other considerations yet
(availability of good books, how much you like interacting with either
community, job prospects, etc, etc) -- that's how close I believe the
two (excellent) languages are, technically, right now (studiously
trying to avoid any bias due to the possibility that Python adopters
might buy my books while Ruby ones won't...;-).


Alex


More information about the Baypiggies mailing list