3 ms·
> Why is print so special that it needs dedicated synta? parent answered the question: > Taking away permissiveness from a programming language just leads to
by TAForObvReasons 10y ago
> Why is print so special that it needs dedicated synta?
parent answered the question:
> Taking away permissiveness from a programming language just leads to developers not upgrade. No surprises there.
Some people used the print statement because at a time this was the recommended approach. In fact the 2.7 tutorial uses the statement: https://docs.python.org/2.7/tutorial/interpreter.html#interactive-mode https://docs.python.org/2.7/tutorial/interpreter.html#intera... print behavior was changed, and combined with the other changes and incompatible modules a lot of people decided not to jump to 3.0.
Since languages like C never had a print statement to begin with -- printf was always a function call -- this issue would never have appeared in the first place.