Hacker News new | ask | show | jobs
by yatz 776 days 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.