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

There are ample discussions about the change in `print x` syntax in Python all over the web.


Well everyone understands the academic reasons. (Print is a function and now you can do ‘my_print_function = print’) But really it was not necessary.

What piece of code is taking advantage that print is a pure function nowadays?

[EDIT] I am genuinely curious.


It's the people who are learning the language from scratch taking advantage of this simplification, because they don't need to learn the special syntax of print with all its warts (like trailing comma).




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

Search: