4 ms·
It makes the language tricker to learn.
by Dylan16807 11y ago
It makes the language tricker to learn.
- criddell 11y agoYou could argue the opposite too. If print wasn't changed, a Python tutorial from 10 years ago would have a better chance of working on a modern Python installation.
- emidln 11y agoErr, what? Maybe you mean that an arbitrary distinction between statements and expressions makes the language trickier to learn than it otherwise might be. But once you have that distinction, print being a function vs a statement isn't trickier one way or the other.
- Dylan16807 11y agoPrint fits much better with python's functions than its statements. I think it is notably tricker if the most common piece of code you pass arguments to has no parentheses, but everything else does.
- GFK_of_xmaspast 11y agoI certainly don't remember having trouble with that part.