POV-Ray : Newsgroups : povray.text.scene-files : Eyeball code. : Re: Eyeball code. Server Time
29 Jul 2024 04:30:17 EDT (-0400)
  Re: Eyeball code.  
From: Jon A  Cruz
Date: 23 Jun 1999 23:22:34
Message: <3771A490.F4CDA4D6@geocities.com>
Ken wrote:

> Nieminen Mika wrote:
>
> >   Indentation seldom adds newlines but only spaces at the beginning of
> > the lines, so with properly indented code you will se exactly as much code
> > is with your style.
>
> The biggest problem then lies with the fact that there is no agreement
> as to what constitutes "proper" indentation. No one seems to be able
> to agree on that either.

For code in general, studies have found that from 2 to 6 spaces is optimal.

At least that narrows things down a _tiny_ bit.

(Personally, I usually use 4 for C/C++, Java, etc.  (Often only 2 for .POV
code, but then more spaces seem to help with deeper indentation)


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.