POV-Ray : Newsgroups : povray.off-topic : Games programmers : Re: Games programmers Server Time
7 Sep 2024 11:26:06 EDT (-0400)
  Re: Games programmers  
From: Warp
Date: 13 Sep 2008 09:56:59
Message: <48cbc6ab@news.povray.org>
Orchid XP v8 <voi### [at] devnull> wrote:
> >   How are you supposed to detect the end of file if you are not supposed
> > to ever reach the end of the file? That's kind of contradictory.

> It's different in every language of course, but what typically happens 
> is that you have a function that says "is this EOF yet?", and if it is, 
> you stop reading. And if you don't stop, that's a program bug, and 
> should be signalled as one.

  I fail to see how that's different from how C does it. You read a value
and check if it was EOF. What's the fundamental difference?

> >   Now you are twisting the argument, and arguing for the sake of arguing.
> > The above context had nothing to do with printf or function names.

> My point is that having a debugger doesn't magically solve all the problems.

  But it solves many of the problems you are complaining about.

> >> Well at least you can easily look up Haskell function names.
> > 
> >   Yes, that's something not possible with C.

> It wasn't when I was trying to learn it, no. Today, we have the Internet.

  Exactly how is that different from haskell?

-- 
                                                          - Warp


Post a reply to this message

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