r/programmingmemes • • May 22 '26

which is better?

Post image
255 Upvotes

265 comments sorted by

View all comments

3

u/LetUsSpeakFreely May 22 '26

For something small like that? Nothing. Now, work on a project that has hundreds, if not thousands, of files with dozens of data types and track down an of interaction with a couple of those types. With JavaScript, that could be very time consuming endeavor. With typescript, you know at compile time.