POV-Ray : Newsgroups : povray.off-topic : code readability : Re: code readability Server Time
7 Sep 2024 15:25:36 EDT (-0400)
  Re: code readability  
From: Warp
Date: 26 Jun 2008 15:57:01
Message: <4863f48d@news.povray.org>
Mike Raiford <mra### [at] hotmailcom> wrote:
> Case in point:

> n=(i<12&&j>=i)?(sqrt(z)*y+j):(y+j*i);

  Of course spaces could help readability a bit. Like:

n = (i < 12 && j >= i) ? (sqrt(z)*y + j) : (y + j*i);

-- 
                                                          - Warp


Post a reply to this message

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