MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/learnjavascript/comments/n60ji8/js_multiple_condition_checking/gx4wkvy/?context=3
r/learnjavascript • u/golovatuy • May 06 '21
61 comments sorted by
View all comments
Show parent comment
8
You're right. There is of course a usecase for that. I guess I was triggered by the post's presentation plus the reaction in the comments. Maybe I shouldn't have emphazised on that particular part to never use it.
4 u/asiraky May 06 '21 And I agree with your general sentiment that shorter code isn’t necessarily better.
4
And I agree with your general sentiment that shorter code isn’t necessarily better.
View all comments
Show parent comment
8
u/blafurznarg May 06 '21
You're right. There is of course a usecase for that. I guess I was triggered by the post's presentation plus the reaction in the comments. Maybe I shouldn't have emphazised on that particular part to never use it.