Sébastien Dubois
  • Home
  • Newsletter
  • YouTube
  • Obsidian Starter Kit
  • PKM Library
  • Projects
  • Books
  • Links
  • Uses
  • About
Subscribe

best practices

Typesafe checks against TypeScript interface property names at runtime

Typesafe checks against TypeScript interface property names at runtime

Learn how to safely use TypeScript interface property names at runtime
Sebastien Dubois Jul 26, 2020
TypeScript Switch Case best practices

TypeScript Switch Case best practices

Switch statements are sometimes considered a code smell, but when they do make sense to use, you’d better make sure you don’t forget a single case. Luckily, TypeScript can help
Sebastien Dubois May 29, 2020
Angular best practices: Constructor vs ngOnInit

Angular best practices: Constructor vs ngOnInit

Learn why ngOnInit is not always the best solution
Sebastien Dubois May 26, 2020
NPM best practices: Stop installing npm packages globally

NPM best practices: Stop installing npm packages globally

There is almost no use in installing npm packages globally. Here's why
Sebastien Dubois May 23, 2020
How to write code comments like a pro

How to write code comments like a pro

In this article, I’ll explain how my commenting practice (yes, that’s a thing :p) has evolved as well as what I currently recommend, whether you’re a junior fresh out of school, a seasoned developer…
Sebastien Dubois Apr 25, 2020
TypeScript best practices: Interfaces and custom types vs classes

TypeScript best practices: Interfaces and custom types vs classes

Why you should favor TypeScript interfaces and custom types over classes
Sebastien Dubois Apr 20, 2020

TypeScript monorepo best practices: Avoid import issues

Leverage TypeScript paths to avoid problems with your shared types imports
Sebastien Dubois Apr 18, 2020

Subscribe to Sébastien Dubois

Don't miss out on the latest news. Sign up now to get access to the library of members-only articles.
  • Sign up
Passion makes all the difference.