4

Why is javascript just so weird??? Did the authors intentionally write it that way, I'm bothered

Comments
  • 5
    They did in fact do it on purpose to comply with the general rules of being a responsible developer and colleague, to secure the job for people who know how to handle it.
  • 5
    If you spend time studying the thing it will not be as weird as you think.

    Been developing software for years now and I have never been bitten by the quirks.

    Buuuut if you would like to use some alternatives that transpile to it there are many :) i can't do anything against preference, to some JS is beautiful and to others it is an abomination
  • 1
    @Alice So there are developers that actually understand and knows all the weird behaviours of Javascript? Maybe with time, I would get used to them too.
  • 1
    @AleCx04 I can totally agree with this! I still love javascript. Always would do!
  • 0
    Why is it weird for you?

    One weird thing for me - tabulation.

    Basically everything is familiar there. Well, after Java.
  • 4
    @argous check this image. I wonder how they decided to make it this way.
  • 0
    @pelumi-dev well, when I write it in IntelliJ it don`t look so strange )
  • 0
    @argous I would checkout intelliJ! New goal for this week..
  • 0
    @pelumi-dev as I see you work in browser?
  • 0
    @argous Yeah! What about you?
  • 0
    @pelumi-dev when I work with Vue.js I just write inside <script> tag. It also works with HTML and so.
  • 4
    It's deliberately made that way, so people could bitch about it without bothering to understand what they are doing.
    And the creators nailed it!
  • 0
    @argous okay cool!!
  • 0
    @norman70688 πŸ˜‚πŸ˜‚πŸ˜‚This got me
  • 0
    Yeah it's weird.

    But every language is weird.

    They've all got their quirks and perks.
  • 0
    yes, it started off very shitty.

    but it got a lot less shitty with tools like eslint, babel. Literally, I don't touch js code if it doesn't have eslint. It made me unhate js.
  • 0
    @fibbz I'm planning to learn either Ruby or Java soon. but python does not seem weird when I was coding python.
  • 1
    @jesustricks This sounds like good advice.. 'DON'T TOUCH THAT JS, IF IT DOESNT HAVE ESLINT!'
Your Job Suck?
Get a Better Job
Add Comment