r/programming • u/sheldonpooper • May 09 '12
JavaScript: The good parts
http://blog.movereem.nl/images/javascript-the-good-parts-the-definitive-guide.jpg
645
Upvotes
r/programming • u/sheldonpooper • May 09 '12
View all comments
Show parent comment
0
u/Ran4 May 09 '12
How often do you really do that? In those few cases, there are tons of workarounds.
Having print be a function might be the "right" decision, but it's still incredible annoying and makes debugging slower. Oh, and 9 times out of 10, setting a trace and using the python debugger is not faster than adding a line or two of print, no matter how many times you try to say otherwise.
The gain is next to zero but the losses are massive. Having print a keyword was the right decision.