Quote:Original post by owlQuote:Original post by OrangyTangQuote:Original post by caseyd
Above any functions I place:
/*
====================
function name
notes
====================
*/
This really annoys me - whats the point of putting functionName in the comment when all you've done is duplicate the actual name just after the comment? It doesn't add anything except extra visual noise.
[rolleyes]
what if you had a function like this:
What about it (other than proving that C++ has a somewhat verbose and ugly syntax)? If you want to improve it then a typedef for the return type would help a good amount. If you're still not satisfied then I'd suggest a better syntax highlighter than this forum's. Changing the colour of all brackets can help considerably.