POV-Ray : Newsgroups : povray.off-topic : An explanation of what next_permutation does : Re: An explanation of what next_permutation does Server Time
4 Sep 2024 17:24:38 EDT (-0400)
  Re: An explanation of what next_permutation does  
From: Warp
Date: 3 Dec 2009 14:04:44
Message: <4b180bcc@news.povray.org>
Darren New <dne### [at] sanrrcom> wrote:
> Invisible wrote:
> > "while (!(*i < *--j)) {}"

> C has always advocated piling up a bunch of side effects inside 
> conditionals.

  OTOH, once you learn to read it, it's not that bad.

  It's a bit like using "++i" instead of "i = i + 1". The latter might be
clearer at first, but once you understand what "++i" means, not really.

-- 
                                                          - Warp


Post a reply to this message

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