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

I believe object-orientation is dated

Name: Anonymous 2012-05-06 2:07

I don't know how many advances might be happening recently on some underground Smalltalk mailing-list, but in general, OOP has remained the same for decades.

Does everybody think it's good enough? Does nobody want new features that will make your code more expressive somehow? Watcha think?

Name: Anonymous 2012-05-06 14:53

What I would love to see is something very simple: syntax for message composition, a la Smalltalk's semi-colon, so that I could do this:

// hypothetical java extension in which the pipe is a method composition operator

RacialStereotype nigra = new RacialStereotype();

// instead of
// nigra.setFavoriteMusician("Lil Wayne")
// nigra.setFavoriteFood("watermelonz an da fried chickenz")
// nigra.setFavoritePasstime("smokin bluntz wif muh niggaz");
// we can do
nigra.setFavoriteMusician("Lil Wayne")
     | setFavoriteFood("watermelonz an da fried chickenz")
     | setFavoritePasstime("smokin bluntz wif muh niggaz");

Is that so much to ask from an "OO" language?

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