Can you please give me some advice?

cmpython at gmail.com cmpython at gmail.com
Sun Sep 30 13:27:08 EDT 2007


> Hello World in Ruby (and a few other languages):http://www.oreillynet.com/ruby/blog/2005/12/hello_world.html

> Hello World in Python:http://python.about.com/od/gettingstarted/ss/helloworld.htm

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!





More information about the Python-list mailing list