Talk:Procedural programming: Difference between revisions

Content deleted Content added
List of Popular Software?: Replied to comment
Line 27:
OO programming is a subset of procedural programming, the opposite is incorrect. So it's not possible to be oo without being procedural but it's possible to be procedural without be OOP.
:What about OCaml? Lisp can be used in an object-oriented manner as well.
 
 
"Pure" object-oriented languages have encapsulation to a degree which forbids certain aspects of procedural programming, such as calling a function from any point in the program or referencing global variables without a registry. In this respect, I think it is appropriate to consider OOP as not a superset of procedural programming, but rather a separate style. Another consideration is the compiled result: Does an Objective-C program compile to objects, or are these merely abstractions for bundles of procedural or imperative assembler in the mind of the programmer? [[Special:Contributions/216.19.189.159|216.19.189.159]] ([[User talk:216.19.189.159|talk]]) 10:52, 6 June 2008 (UTC)
 
==Procedural vs. Declarative==