|
|
On 5/3/2011 11:36, Warp wrote:
> Darren New<dne### [at] sanrrcom> wrote:
>> On 5/3/2011 8:43, Invisible wrote:
>>>>> Of course, The Real WTF is "functions" that return void. ;-)
>>>>
>>>> Like functions that return unit are better?
>>>
>>> How many of those can you name?
>
>> Not many, but then I work in languages where functions can return void. ;-)
>
> Well, if we go to the strict definition of "function",
That too. And I would wonder how realistic it is to have a strict function
returning a "value" that the type system prevents you from ever seeing.
(I.e., the stuff you use to order calculations in a pure language like Haskell.)
--
Darren New, San Diego CA, USA (PST)
"Coding without comments is like
driving without turn signals."
Post a reply to this message
|
|