11
dronnac
6y

God I fucking hate Javascript.
- unknown operator
- type coercion
- sorting always works alphabetically (lmao)
- literally started as a joke

why can't it be normal and predictable, or at least mildly comfortable to use?

Comments
  • 2
    Every language has its own share of problems.
    There are places where js shines and no other language comes even close.
    js literally is the frontend of entire internet.

    It's fine if you don't like it but also see the good things in it.
  • 0
    BTW, Welcome to devRant
  • 0
    @Konsole "no other language comes even close"
    Citation very much needed
    And thanks
  • 1
    @dronnac No. I mean it. If there is some other language that comes close to what js offers and is also adopted as widespread as js, then I would like to know
  • 0
    @Konsole once again, offers what? Being widespread is literally the only thing that makes it noteworthy
  • 0
    @dronnac Yes and that's a quality. Why do you think java or php haven't died yet? Surely they aren't the best language today.
  • 0
    @Konsole if being popular is the only unique quality you can name about js, that's pretty sad haha. Php hasn't died out simply for legacy reasons nowadays and Java is just too versatile and robust to die out
  • 0
    @dronnac That's "one of the qualities" not the only one. Otherwise it wouldn't have become widespread in the first place.

    Remember Ruby / Rails? It went down the drain just as fast as it came up. Didn't happen to js.

    Even if js dies 10 or 20 years from now, it's gonna be a very vary slow death

    But you don't seem to be particularly interested in acknowledging the qualities of js.
    And I don't wanna argue over this.

    So let's rest it.
  • 0
    @Konsole I can't acknowledge any qualities if you don't even name them haha
  • 0
    @jotamontecino @dudeking this a really stupid take considering the whole point of devrant is jamming your opinions and complaints down others throats
  • 1
    @Konsole to say JavaScript is better than ruby is not much of a compliment:-)

    I don’t mind JavaScript it is tolerable for what it offers but I absolutely hate the DOM that shit was designed by some phd never had a real job arsehole.

    Fortunately we have Ajax/jquery and don’t have to deal with it anymore.
  • 1
    @jotamontecino
    Lightweight?

    Google's V8 Engine might keep around _four_ versions of specific parts of the JS source.

    Original Source, Ignition Bytecode, Speculative Assembly, and Highly Optimised Speculative Assembly.

    What about this is lightweight?
  • 0
    @muttley Maybe not. But node/express does a much better job rails ever did.
    Also you should understand that when js was brought, there was nothing else out there.
    Yes js has its problems. But there wasn't any alternative then.
    And it's versatility has allowed it to evolve the way it has today.

    Also basics of js are a lot easy(compared to others) to learn somewhere along the lines of python.

    Also DOM ain't that bad
  • 2
    Welcome to the realm of dynamic languages where nothing makes sense and types don't matter
  • 1
    @12bitfloat thanks, I hate it
  • 1
    @irene Both are cancer. Weak typing is certainly worse but dynamic typing is bad enough on it's own
  • 0
    JS hast it's difficulties and problems, but it's not like nobody found a solution. If you have problems like typing, use TypeScript. And, like jotamontecino said, most of the time the Problem ist more about the developers. Keep your code clean and as simple as possible, don't reuse variables for other types and define or use an existing codestyle and JS is much less frustrating to use.
  • 0
    @jotamontecino I've never said C++ is particularly good
Add Comment