This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: coding style, continuing education


Nix wrote:

> So we need a way to format them nicely. Might I throw out the
> possibility of something like

If it is too complicated to understand without interspersed
comments, then it is too complicated, period.  *PLEASE* do
not show off your prowess at minimizing expression sizes.
That is a compiler problem.  Minimize brain comprehension
cycles by keeping your focus narrow.  That is the maintenance
problem.  Cascading `if's are (usually) *far* easier than a
multi-leveled gargantuan monstrosity.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]