POV-Ray : Newsgroups : povray.advanced-users : Max-value with function int() : Re: Max-value with function int() Server Time
29 Jul 2024 06:18:32 EDT (-0400)
  Re: Max-value with function int()  
From: Thorsten Froehlich
Date: 19 May 2003 10:42:57
Message: <3ec8ed71$1@news.povray.org>
In article <cja### [at] netplexaussieorg> , 
Christopher James Huff <cja### [at] earthlinknet>  wrote:

>> Actually, I prefer parsers that do not enforce arbitrary bounds. I've become
>> pretty perlish in my coding practices in the last decade, and I now
>> recognize my responsibility as the programmer is to know what the limits are
>> and to break them only when necessary. The parser's responsibility goes no
>> further than accurately translating what I write into executable code. If I
>> want to do something "illegal", I don't want some stupid parser yapping that
>> I can't do that.
>
> Right...the parser shouldn't say anything if you do something wrong, it
> should just mysteriously fail. That's wonderful for user-friendliness.
> (Yuck, Perl...)
>
>> This conflicts with your statement that the boundaries are platform/compiler
>> dependent, and not a part of POV itself.
>
> No it doesn't. By looking at the source code, you can tell what
> platform-dependant constants are being used.

Sorry, haven't had time to follow-up on this thread.  Your answer is exactly
what I would have answered.

    Thorsten

____________________________________________________
Thorsten Froehlich, Duisburg, Germany
e-mail: tho### [at] trfde

Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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