CSC/ECE 517 Fall 2011/ch1 1g jn: Difference between revisions
Jump to navigation
Jump to search
Line 7: | Line 7: | ||
|- | |- | ||
|1.OOP languages focus on abstract relationships and hierarchy of related functionality. | |1.OOP languages focus on abstract relationships and hierarchy of related functionality. | ||
|2.Any problem is handled as a collection of real-world objects that provide services to solve that problem. | |||
|3.It bounds data closely to the functions that operate on it and protects it from accidental modification from outside functions. | |||
|4.Encapsulation and polymorphism emphasizes on re-usability by keeping the implementation flexible without having the need to change a great deal of code. | |||
|5.Object-orientation is a sturdy compromise between performance and organization. Programmer needs to know how to effectively represent real-life scenarios into objects to fill the needs of market. | |||
|- | |- | ||
! Scripting Languages | ! Scripting Languages |
Revision as of 23:05, 7 September 2011
Comparing Object-Oriented and Scripting Languages
Scripting Languages
Concept:-Object Oriented and Scripting Languages
Object-Oriented Languages | ||||
---|---|---|---|---|
1.OOP languages focus on abstract relationships and hierarchy of related functionality. | 2.Any problem is handled as a collection of real-world objects that provide services to solve that problem. | 3.It bounds data closely to the functions that operate on it and protects it from accidental modification from outside functions. | 4.Encapsulation and polymorphism emphasizes on re-usability by keeping the implementation flexible without having the need to change a great deal of code. | 5.Object-orientation is a sturdy compromise between performance and organization. Programmer needs to know how to effectively represent real-life scenarios into objects to fill the needs of market. |
Scripting Languages | ||||
1.Primarily used for the purpose of adding dynamic and interactive components to web pages. |