ext_370680 ([identity profile] winterr.livejournal.com) wrote in [personal profile] winterkoninkje 2009-05-15 10:46 pm (UTC)

And yet you do when you say a particular paradigm succeeds in being useful for a given domain/problem

Hey now :) I'm not defending OO here. I'm merely saying to use the right tool for the job. If the right tool for the job is functional programming, by all means, use it. I'm saying the situation determines which paradigm, language, etc. is best for that situation.

All I'm saying is that my utility-o-dar consistently rates FP higher than OOP (except in a few rare aforementioned cases).

I'd agree with you, just like OO or a functional paradigm is usually best than writing something in a procedural paradigm. But (and this is the one and only point I've been trying to make since my first reply to your post) that doesn't necessitate that OO or a functional paradigm is best in ALL cases... sometimes the procedural way is better. That's determined by how useful the paradigm is to that particular situation. Just because a paradigm is more expressive in a mathematical/a priori way doesn't mean that it is best in all circumstances. Computer science is partly an engineering discipline and there are always mitigating circumstances and constraints that determine things.

And no, contrary to my educational background, I'm not falling back on a philosophy. I'm merely falling back on observation, which I've put into practice as a heuristic.

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org