My whitespace style (was: Why?? (prog question))

David Kelly dkelly at hiwaay.net
Mon Apr 13 07:35:54 PDT 2009


On Mon, Apr 13, 2009 at 10:46:26AM +0200, deeptech71 at gmail.com wrote:
> Tabs are better, because they allow the programmer to specify the
> desired width, and is dynamically changable at any time.

Spaces are better because they let the author specify the formatting and
not left to some other re-interpretation.

Can put the following as the first line and vim will adjust its settings
accordingly:

//  vim: smartindent cindent tabstop=4 shiftwidth=4 expandtab

-- 
David Kelly N4HHE, dkelly at HiWAAY.net
========================================================================
Whom computers would destroy, they must first drive mad.


More information about the freebsd-chat mailing list