Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Procedural programming
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Object-oriented programming === Also classified as imperative, [[object-oriented programming]] (OOP) involves dividing a program implementation into objects that expose behavior (methods) and data (members) via a well-defined interface. In contrast, procedural programming is about dividing the program implementation into [[variable (programming)|variables]], [[data structure]]s, and [[subroutine]]s. An important distinction is that while procedural involves procedures to operate on data structures, OOP bundles the two together. An object is a data structure and the behavior associated with that data structure.<ref>{{cite web |url=http://neonbrand.com/procedural-programming-vs-object-oriented-programming-a-review/ |title=Procedural programming vs object-oriented programming |publisher=neonbrand.com |access-date=2013-08-19 |last=Stevenson |first=Joseph |date=August 2013 }}</ref> Some OOP languages support the class concept which allows for creating an object based on a definition. Nomenclature varies between the two, although they have similar semantics: {| class="wikitable" |- ! width=33% |Procedural ! width=33% |Object-oriented |- | Procedure | [[Method (computer science)|Method]] |- | [[Record (computer science)|Record]] | Object |- | Module | Class |- | Procedure call | Message |}
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Procedural programming
(section)
Add topic