In M.Habibi book I find something like "write down the various decisions you make and de reason why you make them....". There are two kinds of desing decisions general and local (why I choose an ArrayList). The general are placed in readMe files but what happen with the local ? In the code comments?
Hi Mihai, If you feel that someone maintaining your code should know why you used an ArrayList rather than any other form of list, then you should put that comment in the code. If your decision to use an ArrayList impacts the way the application as a whole works, then put in in the design decisions document as well. Regards, Andrew