summaryrefslogtreecommitdiff
path: root/Biz/Dev.md
diff options
context:
space:
mode:
Diffstat (limited to 'Biz/Dev.md')
-rw-r--r--Biz/Dev.md9
1 files changed, 6 insertions, 3 deletions
diff --git a/Biz/Dev.md b/Biz/Dev.md
index 5c0d4ca..cff9464 100644
--- a/Biz/Dev.md
+++ b/Biz/Dev.md
@@ -40,10 +40,13 @@ as possible. Only after sufficient iteration such that interfaces are
solidified and functionality is well-established should some code be
promoted up the namespace hierarchy.
-Boundaries and interfaces between namespaces should be small and
+Start with small namespaces: use `Biz/Thing.hs` before `Biz/Thing/Service.hs`.
+Try to keep all related code in one spote for as long as possible.
+
+Boundaries and interfaces between namespaces should be singular and
well-defined. Likewise, the functionality and purpose of a particular
-namespace should be small and well-defined. Following the unix principle
-of "do one thing and do it well" is advised.
+namespace should be singular and well-defined. Follow the unix principle
+of "do one thing and do it well."
Namespaces are always capitalized. I would prefer always lowercase, but
`ghc` _really_ wants capitalized files, so we appeas `ghc`. In Scheme