POV-Ray : Newsgroups : povray.off-topic : A surprising discovery : Re: A surprising discovery Server Time
5 Sep 2024 11:26:32 EDT (-0400)
  Re: A surprising discovery  
From: Jim Henderson
Date: 23 Jul 2009 18:12:18
Message: <4a68e042$1@news.povray.org>
On Thu, 23 Jul 2009 20:55:51 +0100, Orchid XP v8 wrote:

>>> There are many people who believe that Haskell is a weird and baffling
>>> language. Personally, I think this is untrue.
>> 
>> Heh, but you think C is a weird and baffling language, so it balances
>> out. ;)
> 
> Baffling? Yes. Weird? Not so much. Just ill thought out.

Consider when it was created.  I'm sure Brian and Dennis (ie, K&R, 
creators of the C programming language) would probably disagree with 
you. ;-)

> Somebody somewhere obviously thought that treating characters and arrays
> as the same type was a good idea...

Personally, I think it is - data is data is data is data.  A "string" is 
an array of characters.

Jim


Post a reply to this message

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