Re:Writing comments about pointer ownership
by pjmlp on Sunday August 23, 2015 @02:58PM
(#10106405)
The worse thing about comments about pointer ownership are the big teams with lots of programmer attrition.
Eventually no one knows any longer how those comments map to the real code, because lots of those ever changing developers never update them.
Which leads to days delving into pointer related bugs.
If one is lucky to work in a shop that allows for modern C++, then it is great being able to use all the available features to avoid this type of situation.
Eventually no one knows any longer how those comments map to the real code, because lots of those ever changing developers never update them.
Which leads to days delving into pointer related bugs.
If one is lucky to work in a shop that allows for modern C++, then it is great being able to use all the available features to avoid this type of situation.