by kemiller · 15y ago · 0 comments
I mean, precise joinery may be superior to hammers and nails when building a house, but it's an expensive proposition, and there are 5 people in the world who can do it properly.
Most of us monkeys, when coding, are aiming to accomplish some task in the notoriously incorrect real world. It is often much better to spend 1/5th the engery get to a 80-90% correct solution very fast, and then patch as necessary, for the very important reason that you don't even know if what you're attempting to do will work. In that mode, like carpenters, sometimes it's helpful to just bang it with a hammer.
If what you do is write compilers, well, OK. The description you're quoting sounds pretty good. But the world doesn't need tons of compiler writers, and those it does need typically have pretty stable specs in front of them, so maybe joinery is the right approach.
I think this guy gets it about right: http://alarmingdevelopment.org/?p=440
I actually like Haskell. But I do think it's the wrong tool for a lot of the work that people here on HN tend to do.
In Haskell, you pay upfront.
For example, expressing any control flow as a monad may be harder than just muddling through, but your components are guaranteed to compose afterwards.