When building software, we usually go through the requirements phase to design and all the stuff but when we start writing the actual code, how do we decide on which parts of the software will be build first . What is the first line of code to be written? I think we should start by writing tests for the functionalities and then continue working on making each test pass rather that diving straight into coding the actual application. E.g. We write tests for a login controller first before implementing the controller. I don't expect anyone to agree with me. I'm just trying to learn. Your thoughts will be highly appreciated.
Aucun commentaire:
Enregistrer un commentaire