Simon Serrano

Logo

I am a Software Engineer with a passion for UI/UX design, backend development, and DevOps. Outside of work, I enjoy calisthenics, yoga, acrobatics, running, drawing, and CAM.

View My GitHub Profile

View My LinkedIn Profile

Post Logo

Typescript

TypeScript is a superset of JavaScript that introduces optional static typing, which helps improve code quality and maintainability. While JavaScript is a widely-used, dynamic language, its lack of typing can make large applications difficult to manage over time. TypeScript adds type annotations, enabling developers to catch errors early and write more robust code. This feature brings JavaScript closer to statically-typed languages like Java and C#, offering better tooling and developer productivity while remaining fully compatible with existing JavaScript projects.

My Best Practices

My recommended best practices for Typescript are both common and widely adopted. Moreover, these practices are versatile and can be applied to most object-oriented programming (OOP) languages.

Visit My General Coding Best Practices

Code style

See also my general best practices on coding style

Typing

Leverage immutability

Type guards

Handle Errors

See also my general best practices on error handling

React

Leverage reusability

This page is still a work in progress