mirror of
https://github.com/affaan-m/ECC.git
synced 2026-09-12 20:57:59 +02:00
docs(rules): clarify 800-line review ceiling
This commit is contained in:
committed by
Alex Schmitt
parent
e97edd47fc
commit
60e27fe51e
@@ -36,7 +36,8 @@ Rationale: Immutable data prevents hidden side effects, makes debugging easier,
|
||||
|
||||
MANY SMALL FILES > FEW LARGE FILES:
|
||||
- High cohesion, low coupling
|
||||
- 200-400 lines typical, 800 max
|
||||
- 200-400 lines typical, with 800 lines as a soft maintainability ceiling for source files
|
||||
- Test, generated, and vendored files may exceed the ceiling when their size is justified by their role
|
||||
- Extract utilities from large modules
|
||||
- Organize by feature/domain, not by type
|
||||
|
||||
|
||||
Reference in New Issue
Block a user