Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Pure OO vs. Curried Syntax

Name: Anonymous 2010-08-07 23:18

So /prog/, I have looked around and I haven't been able to find any more-or-less pure OO languages with curried syntax. What gives?

It's not uncommon to see: object message message message

Where object message returns an object which accepts takes the next message, but what if the message is a method call that takes parameters? Instead of returning a curried object, you still get: object method(a,b) method(x,y), but never: object method a b method x y -- why is that?

Name: Anonymous 2010-08-09 16:44

>>20
1. No-one said it was the same thing
2. No-one said they wanted it to be the same object that received all those messages, of course, if you read OP's post you would know that
>>22
There is nothing that precludes an OO language being purely functional, or vice versa

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List