Building a newbie-friendly codebase
Publikováno: 3.2.2022
- Using naming conventions such that you can learn them once and apply them everywhere
- Unidirectional data flows. Make it easy to follow the app flow.
- No magic numbers. I’d add they are even worse in CSS
…
Building a newbie-friendly codebase originally published on CSS-Tricks. You should get the newsletter and become a supporter.
- Using naming conventions such that you can learn them once and apply them everywhere
- Unidirectional data flows. Make it easy to follow the app flow.
- No magic numbers. I’d add they are even worse in CSS as it’s both the confusion they cause and how they are often tied to awkward or incorrect assumptions.
- Using data structures. Like state machines.
- Testing everything
- Good code > good comments
- Avoiding acronyms
- Refactoring opportunistically
To Shared Link — Permalink on CSS-Tricks
Building a newbie-friendly codebase originally published on CSS-Tricks. You should get the newsletter and become a supporter.