• wewbull@feddit.uk
    link
    fedilink
    English
    arrow-up
    7
    ·
    edit-2
    1 year ago

    I’d rather have a good typing system…

    So not typescript then.

    I’m half joking, but the problem with typescript is that it’s JavaScript with types. The industry needs to stop retrofitting types to dynamically typed languages. The type system is an intrinsic part of the language design and if you’re going to have it, it should be there from day 1. Being dynamically typed wasn’t a language bug. It is a feature designed for a certain class of problem. I’m sure 90% of proponents only want it so they get better completion in their IDE, but I personally think it makes a lot of code far more difficult to read.