794
you are viewing a single comment's thread
view the rest of the comments
[-] sik0fewl@kbin.social 44 points 1 year ago

Consumer just needs to write 4x as many unit tests to make up for lack static typing. Hopefully the library author has done the same or you probably shouldn't use that library.

[-] marcos@lemmy.world 6 points 1 year ago

4x as many unit tests

Well... the people fighting against TS are simply not testing things thoroughly. So they are not writing those tests.

Some times that's even perfectly ok. But you don't want to build things over a complex library that has this attitude.

(Except for svelte. It's meaningless for svelte, as TS was always a really bad fit for it.)

this post was submitted on 10 Sep 2023
794 points (98.3% liked)

Programmer Humor

19190 readers
1106 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS