For better readability, that is. All the getter/setter and other pairs could be aligned nicely; etc.
Things like virtual would still disturb things, but they are usually in a block together, so those may still be aligned uniformly (or static is usually so different from the neighboring ones that disturbance is imminent anyway :) ).
The slightly arcane GNU style of
some_return_type
function_name(args...)
has merit for allowing to place function names on the same column consistently!
For better readability, that is. All the getter/setter and other pairs could be aligned nicely; etc. Things like
virtual
would still disturb things, but they are usually in a block together, so those may still be aligned uniformly (orstatic
is usually so different from the neighboring ones that disturbance is imminent anyway :) ).The slightly arcane GNU style of
has merit for allowing to place function names on the same column consistently!