design - writing java doc, validation, test when coding or after coding. what's better -
somebody told me should writing java doc,parameter validation,testing when coding. in fact, write them after basic code completed. question what's better?
by writing tests/docs/validation first, gain concerete idea of what code needs accomplish before moving on how so. may want check out this article on benefits of writing unit tests first.
testing first part of extreme programming , test driven development methodologies. may wish explore them see how fits overall software development process.
keep in mind there lot of other elements these methodologies well, adopting them wholesale may not best decision depending on specifics of project.
Comments
Post a Comment