News for hackers. Stuff that matters.
Re:Does Functional Programming Replace GoF Design Patterns? by silentbicycle on Sunday November 30, 2008 @05:32PM (#381156)
First, I saw that you said that you have read Alan Kay, but I'm speaking to the general discussion audience. And, ok, you know what you're talking about; I'm used to reading people who think that all OO systems necessarily suffer from the same problems as e.g. C++'s, and, not knowing your programming history, had few impressions to the contrary based strictly on what you said. Nothing personal. Be civil, have your coffee.

> What matters is how it works on complex problems.

Agreed. I don't believe pure-OO (or pure-FP, pure-declarative, etc.) is an ideal approach for anything. OOP is a technique that works well for some problems, and is best understood so you can use it when it is a good fit.

I think that the best way to learn OO is via studying Smalltalk. I think the best way to learn FP is via either Haskell or ML, etc. I do real work in OCaml, Lisp, and Python (though I am coming to prefer Lua over Python), but use a multi-paradigm approach based on what I've learned in other languages.

Re:Does Functional Programming Replace GoF Design Patterns? by gruseom on Tuesday December 02, 2008 @11:41AM (#383192)
Be civil, have your coffee.

That made me laugh! Actually the coffee kicked in as I was writing, which you can probably tell. I don't know why I didn't go back and edit the first part... I compulsively edit everything else.