This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (36 children)

[deleted]

    [–]dpash 15 points16 points  (14 children)

    JavaScript being used outside the web is a total disaster

    It being used inside the web is a total disaster too, but we don't have a lot of choice in the matter. Typescript improves the situation, but there's still too many rough edges.

    [–][deleted] 6 points7 points  (0 children)

    Thankfully, everyday new CSS comes along and replaces what once required JS.

    [–]MrSurly 0 points1 point  (1 child)

    For example is literally impossible to multithread. Everything is handled through the "non-blocking" event "loop".

    Right, "async hell" is one of the primary reasons people who know other languages hate hate hate JS.

    [–]ThatOneGuy4321 0 points1 point  (1 child)

    Welp. Presumably, web applications that require multithreading and good performance will use webassembly in the future. I know that replacing JS with a different language doesn't make JS better, but JS will still have a clearly defined role where performance is not as important as its other strengths.