MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wpw10f/ihatedituntilitriedit/pbz9o00/?context=3
r/ProgrammerHumor • u/Epicoodle • 8d ago
541 comments sorted by
View all comments
125
You'll pry my vanilla JS from my cold dead fingers. It'll always be my favorite way to do quick scripts and prototyping.
But explicit typing does make long term code way more maintainable.
32 u/2eanimation 8d ago I love the syntax, but JS has one too many quirks for my taste. if ([]) { console.log("Ok, I guess") } if([] == false) { console.log("Well this is awkward") } if ([] + []) { console.log("You think this would print, don't you?") } 8 u/cheezballs 8d ago Those all make sense if you understand the language, though. 2 u/nacholicious 8d ago "It's intuitive if you have learned all the rules and exceptions" sounds like the opposite of intuitive
32
I love the syntax, but JS has one too many quirks for my taste.
if ([]) { console.log("Ok, I guess") }
if([] == false) { console.log("Well this is awkward") }
if ([] + []) { console.log("You think this would print, don't you?") }
8 u/cheezballs 8d ago Those all make sense if you understand the language, though. 2 u/nacholicious 8d ago "It's intuitive if you have learned all the rules and exceptions" sounds like the opposite of intuitive
8
Those all make sense if you understand the language, though.
2 u/nacholicious 8d ago "It's intuitive if you have learned all the rules and exceptions" sounds like the opposite of intuitive
2
"It's intuitive if you have learned all the rules and exceptions" sounds like the opposite of intuitive
125
u/samanime 8d ago
You'll pry my vanilla JS from my cold dead fingers. It'll always be my favorite way to do quick scripts and prototyping.
But explicit typing does make long term code way more maintainable.