• chaorace@lemmy.sdf.org
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    1 year ago

    Js is what you make of it. It can be a godawful mess but it also can be really awesome.

    Agreed. It wasn’t always a great language, but by some miracle it eventually became pretty alright.

    But it’s also a double edged sword because that means that novices can write absolute spaghetti code in it. That’s not the fault of the language though.

    Disagree. The best languages are those which can be intuitively used without having to learn the pitfalls. Take Rust vs. C++, for example: both languages have pitfalls, but only Rust is intentionally designed to help you steer clear of them. JS is like C++ in this regard – decades of cruft have coalesced into tempting yet painful footguns, much to the chagrin of many a new learner.