|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |