r/programming • • May 09 '12

JavaScript: The good parts

http://blog.movereem.nl/images/javascript-the-good-parts-the-definitive-guide.jpg
645 Upvotes

159 comments sorted by

View all comments

Show parent comments

48

u/Fissionary May 09 '12 edited May 09 '12

Hello World is just print "Hello, world!"

Not in the latest version of Python, it isn't. It will work in Basic, though.

The simplicity of the Hello World program is not a good indicator of the power of a language.

29

u/Wolfy87 May 09 '12

No, now it uses parenthesis. How difficult.

25

u/Fissionary May 09 '12

Difficult? No, it's not difficult at all. In fact, it was a good decision, getting rid of the special syntax for print and making it a function like all others. My argument still stands, though.

1

u/Liorithiel May 09 '12

Well, actually I have already seen one person who used print() as function and trying to deal with its return value. Confusion arises, py2 would at least signal an error.