Re: Need a compelling argument to use Django instead of Rails



On Mon, 24 Jul 2006 13:22:33 +0200, Sybren Stuvel wrote:

"Nah, we're not interested in Python."

Ask them why.

I know why. In general Java guys can recognize Ruby as more friendly
language than Python, more secured (there is almost no security in Python).
There is also much more hype about Ruby on java blogs.

The behaviour of Ruby hasn't even properly been defined.

No. Ruby uses different paradigm. The language can be extended with its
open classes. There is many similarity between Ruby and Smalltak. No Perl
or Java, but Smalltalk. Philosophy and object model is very similiar. Ruby
is more dynamic than Python exactly like Smalltak is.

The main reason for using Rails is: Rails is complete framework, much
easier to learn and use than Django.

The main reason for using Python: Python is more productive. It is easier
to learn Python than Ruby. Python uses minimalistic approach. It contains
less methods, structures than Ruby. It is easier to memorize. Ruby has
messed namespace with many aliases to methods. And it has much more methods
to every object. It is difficult to remember them. There is no Ruby
docstrings as well. You have to read manual, book much more than in Python.

Also modules are easier to use in Python. When I am doing import blah i
know what was downloaded and I can see it by simply typing dir(blah).
But when you do "require blah" in Ruby you know *nothing*. You have to
look inside blah.rb file to see what was happened. "require" command can
execute code, add many namespaces etc. etc.


--
Jarosław Zabiełło
http://blog.zabiello.com
.



Relevant Pages

  • Re: Basic inheritance question
    ... used 'this' in C++ and Java. ... but in Python it doesn't. ... language, they would write a lot of ten liners that is changed a LOT ... Add three levels of inheritence and a couple globals and you'll find out ...
    (comp.lang.python)
  • Re: Python or Java or maybe PHP?
    ... Python or Java? ... Ruby (with Rails, of course, as the server-side framework), Python (many ... this cuts both ways (once you've decided on Java as the language you ...
    (comp.lang.python)
  • Re: Ruby vs. PHP
    ... done is checked out which versions of Perl, Python, YARV, Ruby, jRuby ... dynamic language to the seconds for the benchmark with gcc. ... YARV, Python, Perl and PHP have fairly close medians and the boxes are ...
    (comp.lang.ruby)
  • Re: Java -> ActionScript?
    ... Lage sein Java zu verdrängen? ... In Ruby geht das ja, ... Andere Sprachen wie Python oder auch Ruby sind eh ... Die Syntax sollte jedoch das Programm nicht begraben. ...
    (de.comp.lang.java)
  • Re: Why not adopt "Python Style" indentation for Ruby?
    ... *language* features where Python leads Ruby.) ... When you come right down to it, there are only a few basic syntax styles that have survived the test of time. ... I suppose assembly language syntax has also survived, and FORTRAN and COBOL, but I don't think anyone would design a new language with those. ...
    (comp.lang.ruby)