PHPDoc is a facility provided by PHP, which is meant to document the complex code that you toiled very hard to build. The importance of documenting code and properly documented code need not be explained to those of you who have taken care of someone else's code at some point in their lives. For all others, and for those who know, yet are hungry for knowledge, here are a few points that might explain why you should always document your code—no matter what and how. Stay tuned for some interesting use cases.
You planned to cook
PizzaDish. How did you proceed? You created an entity called
Dish, designed some functions in it that will assist you in adding some ingredients, and created a special ...