@sakagramming Typescript catches silent failures JavaScript ignores and eventually breaks the app, most times it gets ignored if not properly tested and breaks the app In prod.
A good example is how JavaScript handles "undefined" especially with objects.
@sakagramming The truth is, you'll never see the issues in JS until you start writing typescript, so typescript actually reveals most of the issues, and you start appreciating and seeing better ways to do things.
learning to code feels like this:
week 1: this is amazing
week 2: this is hard
week 3: i am not built for this
week 4: oh wait i get it
week 5: i am a genius
week 6: new topic. i am not built for this.
it never stops. that's the whole job.