xparq / Out_of_Nothing

Versatile entity-based simulation & visualization/gamification framework PROTOTYPE
0 stars 0 forks source link

Try postfix return-type function signatures in headers for cleaner text formatting! #349

Open xparq opened 11 months ago

xparq commented 11 months ago

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!