MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/javascript/comments/a6txtp/coming_from_python_to_js/ebxz8n8/?context=3
r/javascript • u/chroner • Dec 16 '18
const print = console.log
I found my safe space.
156 comments sorted by
View all comments
22
I actually kind of like this because I always manage a typo when I type 'console.log'. I get a lot of 'cosnole.log'. I think I'm much more consistent typing 'print'.
26 u/Earhacker Dec 16 '18 VS Code, Atom and the like usually have a snippet that autocompletes when you just type "log". 2 u/killchain Dec 16 '18 WebStorm has one also, you just append .log to the whole expression.
26
VS Code, Atom and the like usually have a snippet that autocompletes when you just type "log".
2 u/killchain Dec 16 '18 WebStorm has one also, you just append .log to the whole expression.
2
WebStorm has one also, you just append .log to the whole expression.
.log
22
u/BloodAndTsundere Dec 16 '18
I actually kind of like this because I always manage a typo when I type 'console.log'. I get a lot of 'cosnole.log'. I think I'm much more consistent typing 'print'.