Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

As sad as it may sound, the most annoying thing about Python 3 for me is this:

print "Hi"

vs

print("hi")

Other than that, as Alex said there isn't much difference between the two.



I totally agree.

I sat silent at europy in 2006 as guido explained he was breaking the print statement. At europy in 2007, when he gave the same talk, I boo-ed, loudly. He said "well no-one complained when I talked about this last year." My bad.

Being able to instantly pepper my code with print statements is how I (and many others) debug. It really gives me the shits these extra parens.

So I continue to boycott py3.


Yeah, I personally find the first example makes code a lot cleaner.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: