this post was submitted on 17 Jul 2023
528 points (97.7% liked)

Programmer Humor

19735 readers
859 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago (1 children)

I mean that is the first step. ¯_(ツ)_/¯ The next step is to start defining the types more strictly than any.

[–] [email protected] 6 points 1 year ago* (last edited 1 year ago) (1 children)

Hmmm a more reasonable first step would be to just not even type anything until you're ready. But TS makes it hard to iteratively type parts of your codebase over time. One could type using JSDoc syntax for these cases, though.

[–] [email protected] 1 points 1 year ago