[U-Boot] [PATCH] ppc4xx: Read pipeline depth set to 4 for PPC440SP/SPE, PPC405EX, PPC460EX/GT/SX processors
Wolfgang Denk
wd at denx.de
Wed Aug 13 20:31:08 CEST 2008
Dear Scott Wood,
In message <20080813171332.GC24225 at ld0162-tx32.am.freescale.net> you wrote:
> >
> > But then, you are changing good TAB chanracters that were used for
> > vertical alignment into spaces. This is incorrect - please read the
> > Coding Style requirements.
>
> Where? I see no mention of alignment in the coding style documentation.
See http://www.denx.de/wiki/U-Boot/CodingStyle, bullet 4.2:
Use TAB characters for indentation and vertical alignment, not
spaces
> I know it's common practice, but could someone please explain *why* TABs
> are mandated for alignment? It makes sense for indentation, as it allows
> adjusting the tab size[1], requires fewer keystrokes to change
> indentation level, and conveys meaning with respect to the structure of
> the code.
The very same reasons apply for vertical alignment.
> The only thing that using TABs for vertical alignment gets you is some
> slight compression of the source code when not compressed by other means,
> an annoying 1/8 chance of the column shifting by 8 characters when the
> code to the left is changed, the removal of flexibility with respect to
That's 8 times better than the 100% chance that it will shift when
using spaces for alignment.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
To live is always desirable.
-- Eleen the Capellan, "Friday's Child", stardate 3498.9
More information about the U-Boot
mailing list