"be consistent" | |
PerlMonks |
Re^2: I dislike object-oriented programming in generalby erroneousBollock (Curate) |
on Oct 20, 2007 at 06:25 UTC ( [id://646141]=note: print w/replies, xml ) | Need Help?? |
I don't know why, but I've always felt uncomfortable speaking of OOP as a programming paradigm (it was taught that way to me); rather it always seemed to me that perhaps OOD is a manner of abstraction that may apply to more than one programming paradigm. The three main programming paradigms would obviously be "imperative", "logical" and "functional". Am I correct in believing that all three paradigms could host OOD practices ? If that's the case, then we can say that the manner of abstraction is somewhat orthogonal to the operational semantics of the language:
Languages usually aspire to one paradigm (exceptions include languages like OCaml which implement both "imperative" and "functional" semantics). Within languages, programmers often find ways to express other paradigms within the paradigm of the host language:
Anyone have any thoughts on this? -David
In Section
Meditations
|
|