POV-Ray : Newsgroups : povray.off-topic : C# 4.0 Default parameters : Re: C# 4.0 Default parameters Server Time
9 Oct 2024 19:15:00 EDT (-0400)
  Re: C# 4.0 Default parameters  
From: Orchid XP v8
Date: 4 Feb 2009 14:03:53
Message: <4989e699$1@news.povray.org>
>> * This is why, if a Haskell function takes any functions as arguments, 
>> they invariably come *first*, and any data structures come *last*. ;-)
> 
> Hmm, this is just a convention, I guess.  There's no technical 
> limitation for a function not appearing last in the argument list.

Oh, sure. Purely a convention. But currying is the reason why this 
particular convention is there. That's all I'm saying.

>> Yeah, looks like in about 8 years or so C# or Python or Ruby will have 
>> stolen everything that is cool about Haskell, and Haskell itself 
>> *still* won't be popular. :-(
> 
> Well, C# can because Microsoft employs the father of Haskell. ;)

Well, actually *anybody* who's read about how Haskell works can copy its 
design. (Although *implementing* it well is non-trivial...)

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

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