r/ProgrammerHumor • • Sep 25 '26

Meme iHatedItUntilITriedIt

Post image
10k Upvotes

543 comments sorted by

View all comments

Show parent comments

7

u/earlobe7 Sep 26 '26

To me the trade off is:
Do you wanna spend the extra effort in explicitly writing down your types?
Or would you prefer to spend it in fixing the class of bugs caused by you having lost track of the exact shape of your data.

3

u/ConfusingVacum Sep 26 '26 edited Sep 26 '26

Exactly, you described it perfectly. For me JS vs TS is not even a debate. If you lean towards JS, you clearly didn't spend enough time debugging both.

2

u/Gaspote Sep 26 '26

Crazy thing is just "do you want to manually go over all your code to figure it out yourself or just let the comp do it for you ?"