<div class="gmail_quote">2011/10/22 Gregory M. Turner <span dir="ltr"><<a href="mailto:gmt@malth.us" target="_blank">gmt@malth.us</a>></span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Taking these terms in the broadest sense possible, wouldn't we say that OOP is mostly a functional development paradigm?<br>
<br>
Not a rhetorical question, I seriously am not sure.<br>
<br>
OP's somewhat idiosyncratic requirement to put all the OOP metadata in a separate interface section of your code kind of underlines what I'm talking about. It seems to me that in OOP, whatever we might happen to do procedurally, there's a strong declarative odor to everything happening at the class/interface level.<br>
<font color="#888888"></font></blockquote></div><div><br></div><div>Now you are mixing the well-established terms.</div><div>Functional programming paradigm is based on lambda calculus. There are no loop constructs or even variables in normal sense.</div>
<div>There are only functions which return a value without side-effects.</div><div><br></div><div>In Object Pascal you must define types in interface, but it doesn't change the object oriented paradigm anyhow.</div><div>
In Java or C# you don't have interface definitions but they still have the same paradigm.</div><div><br></div><div>Wikipedia has amazingly much info. See:</div><br>
<div><a href="http://en.wikipedia.org/wiki/Functional_programming">http://en.wikipedia.org/wiki/Functional_programming</a></div><div><br></div><div>On the right edge there is a list "Programming Paradigms".</div>
<div><br></div><div>Regards,</div><div>Juha</div><div><br></div>