Re: The wisdom of the object mentors (Was: Searching OO Associations with RDBMS Persistence Models)
From: Bruno Desthuilliers <bdesth.quelquechose_at_free.quelquepart.fr>
Date: Thu, 01 Jun 2006 02:50:54 +0200
Message-ID: <447e0a70$0$21286$626a54ce_at_news.free.fr>
>
>
> In a true OO language there are no first order functions.
Date: Thu, 01 Jun 2006 02:50:54 +0200
Message-ID: <447e0a70$0$21286$626a54ce_at_news.free.fr>
frebe73_at_gmail.com a écrit :
>>I don't know Java, but if your statement about Java disadvantages is >>true, that's a problem with Java -- not with OO.
>
>
> In a true OO language there are no first order functions.
Ho, really ?
I'm afraid your confusing OO (ie: *object* oriented) with "class-oriented" (like in Java). In a "true OO language", *everything* is an object. So functions are objects too. So functions are first-order.
> Some OO
> languages, like Python, are a little more pragmatic and has some non-OO
> features too.
Same remark here. Python as first-order functions because Python's functions *are* objects - and FWIW, you can turn any object into a callable by overlading the call operator. Received on Thu Jun 01 2006 - 02:50:54 CEST