DEV Community

loading...

Discussion on: A Simple Argument For Typescript

Collapse
rawrasaurus profile image
Rawrasaurus • Edited

Declaring a property that doesn't match your model and having the linter complain should feel natural to most developers especially for those coming from a lower level language like C/C++ or even Java static typing is so crucial and important to understand IMO. The main advantage being that the compiler has a chance to perform all kinds of type checking therefor eliminating trivial bugs at an earlier phase in your application.

Forem Open with the Forem app