Nezir Zahirovic
Nezir Zahirovic

A Mental Model to think in Typescript

One day I came across a tweet from Lari Mazza that says"Can I make a suggestion? Types are hard to understand when you’ve only worked with JS in your life and suddenly have to learn TypeScript"As a software engineer that learned Python, Ruby, Javascript, and Clojure first, when I tried C , it was a horror movie. I couldn't do much, so counterproductive, and frustrating. Maybe because I was doing everything wrong and I didn't understand types the right way.But even though I had so many problems, I could implement a bunch of algorithms and data structures.Now I'm using more and more Typescript in my day-to-day job and in my side projects, I feel I'm more prepared to confront types. Actually, not confront, but use them in my favor.This post is my attempt to help developers think more in types and understand this mental model.


A Mental Model to think in Typescript #javascriptba #javascript #nodejs #reactjs #angularjs #vuejs #meteorjs #typescript #jquery #emberjs #denojs #bosnia