[fpc-pascal] FreePascal Coding style

Marco van de Voort marcov at stack.nl
Mon Jan 21 11:59:43 CET 2008


> On 21/01/2008, Michael Van Canneyt <michael at freepascal.org> wrote:

> > No, there isn't. I follow Borland coding style, but some others don't.
> > You cannot force everyone to use the same style. And you should not.
> 
> That's why we need a editor that supports 'elastic tab stops'.  ;-)
> It's a brilliant idea, but might make your processor work a bit harder
> (but considering that most CPU's sit at idle 90% of their life, that's
> not really an issue).
> 
> For more information on 'elastic tab stops' see the following website.
> He has a simple java demo editor showing it in action.
>   http://nickgravgaard.com/elastictabstops/

Such schemes have been tried before, but usually fail since that makes
source only (practically) editable with one editor, which most users loath.
I don't see what's so different about this one.

Also think about e.g. the trouble with RCS, patch systems etc.

I personally would spend my time improving source beautifiers like our own
ptop (and you could make them to automatically find these tabstops).




More information about the fpc-pascal mailing list