Just because something has final comments doesnβt mean that they are good. Also keep in mind that Doom 3 code is ~ 10 years old, and coding styles change over time.
In general, trailing comments indicate that a line of code cannot stand on its own. And, in general, that smell of code, because one line of code should be transparent enough.
Looking through some source, in fact, I do not see a ton of comments, although I see many methods that are too long and many comments in the middle of functions.
It is often pointed out that the following code deserves its own method.
I would say that yes, there is more, and βmoreβ is communication and clarity.
Dave newton
source share