5 ms·
Plus: 1. Avoid circular dependencies at any cost. 2. Ensure functions and classes do one thing and one thing only (SRP). 3. Cap functions at 50 lines and a clas
by yatz 2y ago
Plus:
1. Avoid circular dependencies at any cost.
2. Ensure functions and classes do one thing and one thing only (SRP).
3. Cap functions at 50 lines and a class at 500.
4. Group managers, services, views, models, and UI by features rather than class types.