It really depends on who the project document is aimed at. If this is for a boss who is not technical, then you are well versed in what you have.
If this is for you, then you are using a tool that will help you, so you decide. I create project-level project docs when I create a project, but it is at a high level, so I can figure out what the features of the various classes should be. I found that in different languages ββthe main functions of the class have little in common with the programming language in which we work. Some of the internal details and functions needed, of course, may vary depending on the chosen language, but these are implementation details that I donβt worry at the design stage.
This certainly helps me find out, for example, that the authorization class may have an authentication function that takes a User object as a parameter. I don't care, during design, that I might need the inner shell of the md5 function to accomplish a specific purpose. I learn about this when coding.
The purpose of the initial design is to organize organized so that you can make progress with clarity and foresight, and not break and repeat the same function 4 times, because you forgot some scenario due to lack of planning.
EDIT: I work a lot in PHP, and I actually use PhpDoc to execute some project documents, simply by writing a method signature without implementation, and then detailing what the method should do in the Comments method header. This helps anyone who uses my class in the future, because design is documentation. I can also change the documentation if I need to make some changes during encoding.
I work a lot in php4, so I can not use interfaces. In php5, I create an interface and then implement it elsewhere.
Zak
source share