this post was submitted on 23 Jun 2024
735 points (96.5% liked)

Programmer Humor

19813 readers
161 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 22 points 6 months ago (1 children)

Most libraries have TypeScript types these days, either bundled directly with the library (common with newer libraries), or as part of the DefinitelyTyped project.

[–] [email protected] 11 points 6 months ago (1 children)

DefinitelyTyped is the exact kind of thing I'm talking about. You put TypeScript definitions over things, but under the hood it's still JavaScript and can fail in JavaScript ways.

[–] [email protected] 3 points 5 months ago

It can’t fail in javascript ways that require specific sequences of code to be written, if those sequences of code aren’t in the range of output of the Typescript compiler.