3 ms·
It's having to write the parenthesis after print. No one wants that and it's been by far the largest complaint the community has about python3.
by alexmlamb 7y ago
It's having to write the parenthesis after print. No one wants that and it's been by far the largest complaint the community has about python3.
- lutoma 7y ago> No one wants that Why would you write a statement that is so demonstrably false?
- mehrdadn 7y agoProbably because it's hyperbole to get a point across.
- jiffyjeff 7y agoI don't know if the author was intending to be hyperbolic -- I for one prefer Python 2's print. I would've preferred keeping print the way it was and using a new keyword for the new functionality.
- aequitas 7y agoThe change in the print statement was also what put me off from Python 3 for a long while. But back then there where also no big benefits to be had from moving to 3. Nowadays I even prefer the print function as it makes it easer to convert to log functions.
- WilliamEdward 7y agoI still don't see why the print function justifies trying to keep the language alive. You don't prefer that print act as a function and not a keyword? Maybe you don't, but is the change really not worth giving up 2?
- paulific 7y agoYup. By no means a developer, but I Python was the first programming language I learned and I always felt it was my native language. I was happy to stick around with 2.7 for as long as it was there, but I guess this is the motivation I needed to learn Ruby or Haskell. :-(