Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
If you ever do have to learn it (which you probably won't), learn it by itself, from scratch, or not at all.
-
@dotdeb 😘 maybe. console.log sorta gives it away.
Seriously though, that code is so arcane, it could be another language. This is just fuel for my JS hate fire. -
Yeah, JS isn't what it was in 2005! Actually a lot of the shit people usually hate about it got fixed with ES6 and ES2017. It's almost a whole new language.
-
nicholai8938yCan I just point out how shitty the example is because they write the two functions so massively inconsistent? Named vars and block syntax with explicit return vs implicit returns and ternary.
Pls
Imperative programming: why do you have to make our lives so difficult?
undefined