Respectfully, that&#x27;s incorrect.  The requirements (ideally, in a document) are the specification, the code is an implementation of the specification.  For example, you might want to software to take the FFT of something.  Whether you choose to code it as decimation-in-time or frequency is up to you if the requirements do not specify.