Newb question about code style

Nathan Sidwell nathan@codesourcery.com
Wed Mar 17 12:23:00 GMT 2004


sashan wrote:

> Ok thanks that makes a difference. I still don't understand the mixing 
> of tabs and spaces though. The gnu website seems to be down so I can't 
> read http://www.gnu.org/prep/standards_toc.html.
a tab is a character which moves to the next multiple of 8. do not abuse
that by trying a different spacing. usually, tabs are used to get to the
rightmost multiple of 8, and then (pairs of) spaces to get further right.

Why the original *fixed* *width* ASCII character set has a character whose
width is not only different, but depends on where it is, is one of those
things. (Of course Knuth would question why have a character code for a
character with no glyph.)

nathan

-- 
Nathan Sidwell    ::   http://www.codesourcery.com   ::     CodeSourcery LLC
nathan@codesourcery.com    ::     http://www.planetfall.pwp.blueyonder.co.uk




More information about the Gcc mailing list