Re: Can you please give me some advice?



On Sun, 2007-09-30 at 17:27 +0000, cmpython@xxxxxxxxx wrote:
I know nothing of Ruby, but just the fact that in Ruby the Hello World
program is

puts 'Hello, World!'

whereas the Python Hello World program is

print 'Hello, World!'

suggests to me that Python is more intuitive because the word "print"
has a meaning in English that makes sense given what you want to do,
but "puts" just doesn't. And, as someone who has been learning Python
from almost no knowledge of programming, I've found it is not too bad
in trying to keep as reasonably close to a natural language like
English
as possible.

I also think the mandatory indenting of Python is helpful in forcing
new programmers to be neat and see code blocks quickly. Plus I doubt
the Ruby community has such a large group of helpful people and
libraries
and such (but I could be wrong about that, just assuming it based on
the
fact that Python has been around longer).

On the other hand, perhaps because Ruby is newer it has been able to
freshly start with advantages learned from the difficulties of other
languages. Byung-Hee Hwang ought to go the Ruby group and see what
they are saying.

As far as English goes, Byung-Hee, you have to admit English grammar
is easy (though spelling is not so easy). That anyone can speak and
write Chinese is impressive to me, as the language looks completely
impossible! Good luck!

I read above your comments all. It will be good reason for my decision
must be Python. Anyway, your guidance has been useful and is greatly
appreciated. Okay, I will study English very hardly, as well. Thanks,
again!

Byung-Hee


.



Relevant Pages

  • Re: builtin regular expressions?
    ... Can anybody tell me the reasonwhy regular expressions are not built into ... Python like it is the case with Ruby and I believe Perl? ... puts "Title is #$1" ...
    (comp.lang.python)
  • Re: Can you please give me some advice?
    ... I know nothing of Ruby, but just the fact that in Ruby the Hello World ... suggests to me that Python is more intuitive because the word "print" ... has a meaning in English that makes sense given what you want to do, ... but "puts" just doesn't. ...
    (comp.lang.python)
  • Re: Can you please give me some advice?
    ... suggests to me that Python is more intuitive because the word "print" ... but "puts" just doesn't. ... I really don't think Python is more or less "intuitive" than Ruby, and making a judgement on such a pointless detail is not even worth the bandswith IMHO. ... Ruby claims that Ruby is as close as possible to "natural language". ...
    (comp.lang.python)
  • Re: Can you please give me some advice?
    ... I know nothing of Ruby, but just the fact that in Ruby the Hello World ... suggests to me that Python is more intuitive because the word "print" ... has a meaning in English that makes sense given what you want to do, ... but "puts" just doesn't. ...
    (comp.lang.python)
  • Re: PEP 3131: Supporting Non-ASCII Identifiers
    ... "Learn English and use ASCII" is not ... How do you want to use Python ... Virtually every guide to programming style I have ever read stresses ... That the standard library code and documentation is in English ...
    (comp.lang.python)