this post was submitted on 14 Nov 2023
808 points (94.6% liked)

Programmer Humor

41398 readers
573 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] CanadaPlus 1 points 2 years ago* (last edited 2 years ago)

It would be dependent on what I was doing exactly, but a lot of times I'd end up reimplementing the type system in the runtime code, basically. Maybe I'd test the data every time it returns from the library, which would be slow, but if performance is an issue and there's still no TS options I should really just be making my own libraries.

I really don't want to deal with the above kinds of bugs, yo. Bugs that are actually visible in the code are hard enough. Maybe I'd have to do it but I'd kick and scream the whole way there.