CSC/ECE 517 Fall 2011/ch1 1e sa

From Expertiza_Wiki
Revision as of 00:04, 8 September 2011 by Ajdavis7 (talk | contribs) (Added standard wiki sections)
Jump to navigation Jump to search

"Block and Object-Oriented Programming Languages" by Andrew Davis and Srikanth Ramachandran

In computer science, computer programming languages exhibit variance in syntax and structure in order to effectively solve problems. Two of these variances can be seen between block structure and object-oriented structure. A programming language with block structure allows the programmer to group lines of code so that they may be accessed as a single entity. Meanwhile, object-oriented structure allows the programmer to associate data with its actions in a hierarchical manner. Object-oriented structure has many advantages which generally make it more effective and durable than block-structured languages, but object-oriented languages also benefit from ideas present in block structure programming.

Block structure

Definition

History

Programming languages

Object-oriented structure

Definition

Description

Principles

Encapsulation
Inheritance
Polymorphism

History and transition

Programming languages

Structure comparison

Advantages, disadvantages, and limitation

Effectiveness and durability

Applicability between paradigms

See also

References

Further reading

External links