Re:John Carmack's comment on Doom 3's code style
by tracker1 on Tuesday January 15, 2013 @11:55AM
(#5061197)
You usually aren't looking for a line based on the type... you're usually looking for a specific variable... with your variables lined up, that portion becomes faster... scanning for y in your second example without the variable declarations lined up for example. This advantage outweighs the slight hinderance of the separation on a given line. That, and many editors will highlight the line with the cursor on it. Which alleviates the issue you point out a bit.
[ Parent
| on HN ]
There are no comments on this comment yet.