by notJim · 14y ago · 0 comments
Where these arguments fall short are in addressing the simple fact that highly-skilled people produce very neat, well-designed systems that they are pretty happy with from a technical standpoint, and that make money every single day using $commonly_used_thing. If you can't acknowledge that $commonly_used_thing has some good attributes, and that it actually works well for many cases, I don't understand why I should take you seriously.
[1]: Examples of commonly_used_thing: ORMs, OOP, SQL databases, NoSQL databases, operating systems, platforms.
[2]: There are a handful of variants. I think my favorite is the magical phrase "impedance mismatch", which I think in non-buzzword-speak translates to "fuck you, I'm right"
[3]: Most-frequent strawman: the most essentialist, rigidly-formal version of $commonly_used_thing, when in reality, nearly every version of $commonly_used_thing compromises to cope with reality.
It is possible to do amazing work with broken tools, or with the wrong tools. That doesn't mean these tools aren't broken or that they couldn't be better matched to the job.
Not that I think OOP is inherently evil. Reading the article, I don't think the author quite understands OOP. One example:
"In an OOPL I have to choose some base object in which I will define the ubiquitous data structure, all other objects that want to use this data structure must inherit this object."
If he really believes this, no wonder he's railing against OOP. That would be horribly broken.
The original author is Joe Armstrong (http://www.sics.se/~joe/), the creator of Erlang.
Either that, or I'm completely misunderstanding him. He can't be talking about hating composition, though, can he? He uses it in his own Erlang examples!
I think Erlang is interesting precisely because it was created by someone with a little distance.
Try writing something in erlang and I bet you'll see the real power of pattern matching, supervision trees, and the whole message passing infrastructure. If the people who wrote Erlang weren't good programmers they certainly got lucky.
Jokes away - the "really great programmers" for me are people who can do extremely complex things very simple.
For me, Armstrong is somewhere near Peter Norvig. Both made me change my point of view, some complex things became simple (and some simple things became not so simple).
"Erlang was hacked up in Prolog" - it's the same as "Java was hacked in C". First implementation of Erlang was written in Prolog, first implementation of Java was written in C.
If this article was titled "Functional programming offers a number of advantages over OOP when dealing with $productive_activity"[1], my response would have been positive.
[1]: It goes without saying that the article would have to live up to the title. Obviously merely re-titling this article in such a way wouldn't be sufficient.
For some reason, anything like this turns into a crazy holy war. At the risk of invoking another holy war:
"For these people, the iPad is unsuitable for content creation for anyone unless it’s suitable for them." -- John Gruber
s/the iPad/\$tool/; s/content creation/\$activity/;
A link, for the lazy: http://www.infoq.com/presentations/Simple-Made-Easy