this post was submitted on 17 Jul 2023
495 points (97.9% liked)

Programmer Humor

19511 readers
1394 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
[–] joel_anderson@lemmy.world 2 points 1 year ago (2 children)

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

[–] mark@programming.dev 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.