Along with breaking up the application logic, adding comments is a good practice to implement especially as an application gets larger. Text editors have code folding abilities so it's much easier to collapse a page and read the comments to help narrow in on the section I need to improve or work on. There are a few methods as well that have very similar names such as getComment and getComments so comments would go a long way to help decipher how these methods differ.
Along with breaking up the application logic, adding comments is a good practice to implement especially as an application gets larger. Text editors have code folding abilities so it's much easier to collapse a page and read the comments to help narrow in on the section I need to improve or work on. There are a few methods as well that have very similar names such as
getComment
andgetComments
so comments would go a long way to help decipher how these methods differ.