r/javascript • • Dec 16 '18

Coming from Python to JS NSFW

const print = console.log

I found my safe space.

607 Upvotes

156 comments sorted by

View all comments

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'.

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/ItsReallyEasy Dec 16 '18

Sweet! Enabled by default on VS Code? Gets me closer to muscle memory of Lombok as a Java dev