this post was submitted on 10 Sep 2023
79 points (100.0% liked)

Programming

13376 readers
2 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] Bipta@kbin.social 14 points 1 year ago (1 children)

This is the core thesis of the article:

It's true that sometimes you have to write non-trivial types to convince the compiler that your data is correct.

That's okay. Creating maintainable code with high quality often requires putting in the hard work.

There's no real substantiation of the claim; just the claim itself.

Yes TypeScript is onerous but that's just alright.

Maybe it's true but it's a weak argument.

[โ€“] amju_wolf@pawb.social 5 points 1 year ago* (last edited 1 year ago)

100% agree. Typescript is just a bandaid on top of a broken language. Sure it's better than bleeding, but it'd be preferable not to get injured in the first place.

And you can still apply the bandaid wrong.