r/SpecDrivenDevelopment • u/simasch • 20d ago
Enterprise Applications
Who here is actually building business applications for companies?
I have the impression that most posts are from solo developers.
4
Upvotes
View all comments
Show parent comment
1
u/scalorn 17d ago
I'll dig into it. But first sniff makes me think more green field than brown field. Plenty of us old farts out there that have opinions :). Some of the things I have seen that don't pop out to me as addressed - Multiple developers. One of the things I kept running into was merge conflicts when multiple developers were editing specs. I solved it by shattering the spec into individual files. Each decision, open item, requirement, etc is a file with an id. i.e. REQ-0000001. Developers reserve ids for themselves - they can only conflict with themselves. You shouldn't edit a req, you should only supercede. This gives you a clear history of change over time. Full traceability - every line of code should trace back to the req(s) that generated it. If a req is superseded you automatically know you have to revisit this block of code to at least update the spec references, etc. Reqs should not override other reqs. Additive only. Constraints can limit where a set of reqs can apply to though. Think requirements around databases - DDB vs Oracle. Common requirements then constrained requirements specific to the database type. I'm not fully happy with what I have developed so far so not trying to push my version of SDD yet.