POV-Ray : Newsgroups : povray.off-topic : Smart little programming tricks, where to find ? : Re: Smart little programming tricks, where to find ? Server Time
10 Oct 2024 17:17:52 EDT (-0400)
  Re: Smart little programming tricks, where to find ?  
From: somebody
Date: 18 Mar 2008 08:23:36
Message: <47dfc258@news.povray.org>
"Fa3ien" <fab### [at] yourshoesskynetbe> wrote

> I've read (in "joel on software") that, to avoid confusion between == and
=,
> when you sometimes use languages that use = as assignments AND
comparisons,
> you can do some comparisons like this :
>
>   0 == myvalue

I think the best "trick" is to use a programming language which was designed
with at least some forethought, so that such tricks are unnecessary.


Post a reply to this message

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