Imperative programming: why do you have to make our lives so difficult?

  • 1
    What language is that, so I can NEVER use it?
  • 4
    @OfficerHalf Javasssssscript

    Edit: You knew that, didnt you?😒
  • 4
    If you ever do have to learn it (which you probably won't), learn it by itself, from scratch, or not at all.
  • 3
    @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.
  • 2
    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.
  • 1
    * let i = 2;
  • 1
    That's because it's 'imperative' that they do...

  • 1
    You get used to that... But I don't like your spacing
  • 1
    That styling is bloody awful :c
  • 1
    Can 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.
Add Comment