News for hackers. Stuff that matters.
Re:How to Build Good Software by madeofpalk on Monday August 19, 2019 @07:27AM (#20736825)
> Ideally it should be in version control and be generated from the code, because then it's less likely to go out of date

Not always - when you want to document the requirements (in whatever format), having them be separate from the code is often a plus. The code might implement the requirements incorrectly, so being able to recognise that is important.

I find this very similar to writing tests that are separate from your implementation. In fact, Cucumber/BDD tests try to make product requirements executable to validate the software has been written correctly to meet the requirements.

There are no comments on this comment yet.