POV-Ray : Newsgroups : povray.off-topic : Gah... : Re: Gah... Server Time
4 Sep 2024 01:21:11 EDT (-0400)
  Re: Gah...  
From: Mike Raiford
Date: 24 Sep 2010 08:33:07
Message: <4c9c9a83$1@news.povray.org>
On 9/23/2010 12:50 PM, nemesis wrote:
> Mike Raiford escreveu:
>> On 9/22/2010 12:02 PM, nemesis wrote:
>>
>>>
>>> neverending revelations... pi *has* uppercase... *head spins*
>>>
>>
>> Greek, like Latin has both upper and lower case.
>
> I'm used to Scheme, you case-sensitive clod!
>

Case sensitivity gives me twice as many characters available for 
variable names!

;)

As a fun aside... apparently C# will accept any 
non-number/non-punctuator as a valid variable name. This is valid C# 
code and will compile and execute (and give completely wrong results):

         private static double Γ(double z)
         {
             // in reality this would actually return the result of the 
gamma function...
             return z;
         }

         static void Main(string[] args)
         {
             Console.WriteLine("The value of the gamma function is: " + 
Γ(1));
             Console.ReadKey();
         }

A good way to piss off your co-workers, for sure.. XD


-- 
~Mike


Post a reply to this message

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