022: My Journey to Understand Types in TypeScript, Day 2
GraphQL + TypeScript
I’m totally cherry-picking the content I’m looking up on TypeScript. It’s neat that TypeScript is code analysis for JavaScript. It’s neat that types are layered over JS to help catch errors and bugs. What I want is to understand types well, and because my primary (and only) coding language is JS, I want to learn to layer types over my code to write cleaner and make better decisions.
However, I don’t want to write code that needs an extra step (or many) in compiling to run. Let types help me in development. As far as my applications are concerned, I’ll only be writing JS. And query languages. For now.
Lean is what I’m working towards.
It was for this purpose that I originally began looking into TypeScript. And also one of the reasons I ended up dropping off learning TypeScript further: I don’t actually want to write TypeScript. However, the whole type system may work to my benefit in writing GraphQL APIs. We shall see.
022/100