4 ms·
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/javas
by scriptproof 11y ago
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 http://www.xul.fr/javascript/no-callback.php (and it is even very simple). That is just a matter of style.
- jacquesm 11y ago> 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)
- Sami_Lehtinen 11y agoPython 3.5 is out, are you still using the legacy version? SyntaxError: Missing parentheses in call to 'print'
- jacquesm 11y agoI think you missed the joke.
- marcosdumay 11y ago(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.