Hacker News new | past | comments | ask | show | jobs | submit login

console.log("Hello") is not more complicated than print("Hello"). For the callbacks it is actually possible to not use them. See how to: http://www.xul.fr/javascript/no-callback.php (and it is even very simple). That is just a matter of style.



> console.log("Hello") is not more complicated than print("Hello").

Actually, it is (it requires a package prefix) and it's:

   print "hello"
(Print was never a function in BASIC but a statement)


Python 3.5 is out, are you still using the legacy version? SyntaxError: Missing parentheses in call to 'print'


I think you missed the joke.


(Is that a joke? Am I falling for that rule that says that jokes on the Internet can not be recognized?)

Yes, you can use promises instead of callbacks, and get in promise-hell instead of callback-hell. It's indeed a matter of style.




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

Search: