Clean code and architecture
3rs of software architecture
readable, reusable, refactorable software
- Refactor without breaking the system
- Modules are reusable
- Functions are small
- Side effects are avoided
- Code is consistently formatted
- Variables are named well
- Functions are documented
Helpers vs Utils
Utils is a place where you can place small snippets you can use throughout the application. Small functions to build bigger things with.
Helpers is more of a place where you store code architectural snippets in my view. Things essential for bootstrapping components and developer ergonomics.