POV-Ray : Newsgroups : povray.off-topic : More random humous : Re: More random humous Server Time
6 Sep 2024 21:18:59 EDT (-0400)
  Re: More random humous  
From: Nicolas Alvarez
Date: 6 Oct 2008 12:53:28
Message: <48ea4288@news.povray.org>
Warp wrote:
>   It's just that with lazy evaluation even if you *do* execute all
>   possible
> code paths that doesn't guarantee that their result is actually
> calculated. Thus code coverage might not have the same degree of guarantee
> than with other languages.
> 

And you can't even turn off lazy evaluation for testing. In Haskell it seems
to be common to generate generate infinite lists and then only read the
needed data from them. Unless you have infinite memory, you *need* lazy
evaluation.


Post a reply to this message

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