[Gllug] vi indenting

Pete Ryland pdr at pdr.cx
Wed Dec 19 16:53:33 UTC 2001


On Wed, Dec 19, 2001 at 04:17:20PM +0000, Alex Hudson wrote:
> I think it also depends on how long you've been coding (styles change
> over the years), as well as personal preference.

Good point.  For example, it was learning Java that got me hooked on the
brace-hugging thing (damn hippies).

> I personally tend to space things out a lot more horizontally than most
> people as well (see above), and I'm probably in a smaller minority doing
> that...

I think my only argument for small indentations (2 spaces) is so I have more
code in my window at any time.  I have always found that fitting the most
code per page is important for readability (as ironic as that sounds).

Indenting with spaces also avoids continuation lines which is good because
otherwise I'd actually have to think about how to format a line to make it
readable!

Pete
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 240 bytes
Desc: not available
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20011219/362605c6/attachment.pgp>


More information about the GLLUG mailing list