Preface
Always code as if the person who ends up maintaining your code is a violent psychopath who knows where you live.[1]
The quality of software is directly affected by its codebase. Because most projects are developed over mutiple years and many different people maintain the software during its lifecycle, having a consitent coding convention is essential.
If everyone adheres to the same coding style, it will be much easier to read and understand the existing code base. Familiarity with the code, escpecially when it was written by another developer, will save a lot of time and frustration that would otherwhise be spent figuring out the structure and charactersiscs of the software.
Having a consistent style in coding will enable developers to work together more effectively. Unfamiliar patterns will jump out of the code when you look at it. Even if unfamiliar patterns aren’t alaways errors, they definitely need a close look to make sure nothing is missed.[2]
#What to expect
The following pages are a super small introduction into TypeScript and a collection of good practices when working with Angular. I didn’t invent these method and I hope that I referenced everyone who initially thought of it. The goal is to have a place where all my findings are aggregated and nicley structured, so that I (and everyone else who is interested) can easily access it.
I hope you find the following pages helpful! If you find any flaws or inaccuracy please let me know by creating an issue!
Quote from Coding For Violent Psychopaths ↩
Why Coding Style Matters, Smashing Magazine ↩