POV-Ray : Newsgroups : povray.off-topic : code readability : Re: code readability Server Time
7 Sep 2024 09:22:07 EDT (-0400)
  Re: code readability  
From: Gail Shaw
Date: 26 Jun 2008 14:40:07
Message: <4863e287@news.povray.org>
"Halbert" <hal### [at] gmailcom> wrote in message
news:4863dbb4$1@news.povray.org...
> I, for one, find it much easier to read C++ code which is braced like
this:
>
> if(somecondition == 0)
> {


> if(somecondition == 0) {
>     // do some stuff

Whereas I find the first far too spread out to be able to read easily and
use the second as my standard code layout in C-like languages

> Why doesn't the rest of the world understand that?
>

Because the rest of the world doesn't necessarily agree with you?


Post a reply to this message

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