Comment on the myth of type safety

<- View Parent
Zangoose@lemmy.world ⁨7⁩ ⁨months⁩ ago

In theory I’m a fan of the inferred but static typing systems that most modern languages use (kotlin, rust, TS, etc.) where most local variable types can be inferred and only return types/object fields/parameters need explicit types.

I just despise typescript because it feels more like someone put a bandaid over JavaScript and all of its oddities instead of making a properly fleshed out language, and allowing the option for an ‘any’ type to be used freely by default emphasizes that.

source
Sort:hotnewtop