Студопедия

КАТЕГОРИИ:

АстрономияБиологияГеографияДругие языкиДругоеИнформатикаИсторияКультураЛитератураЛогикаМатематикаМедицинаМеханикаОбразованиеОхрана трудаПедагогикаПолитикаПравоПсихологияРиторикаСоциологияСпортСтроительствоТехнологияФизикаФилософияФинансыХимияЧерчениеЭкологияЭкономикаЭлектроника


OBJECT-ORIENTED LANGUAGES AND APPLICATIONS




Computer historians believe that SIMULA (SIMUlation LAnguage) was the first computer language to work with objects, classes, inheritance, and methods. SIMULA was developed in 1962 by two Norwegian computer scientists for the purpose of programming simulations and models. SIMULA laid the foundation for the object-oriented paradigm, which was later incorporated into other programming languages, such as Eiffel, Smalltalk, C++, and Java.

The second major development in object-oriented languages came in 1972 when Alan Kaye began work on the Dynabook project at the Xerox Palo Alto Research Center (PARC). Dynabook was a prototype for a notebook-sized personal computer, intended to handle all the information needs of adults and children. Kaye developed a programming language called Smalltalk for the Dynabook that could be easily used to create programs based on real-world objects. Dynabook never became a commercial product, but Smalltalk survived and is still in use today. Smalltalk is regarded as a classic object-oriented language, which encourages programmers to take a “pure” OO approach to the programming process.

As the object-oriented paradigm gained popularity, several existing programming languages were modified to allow programmers to work with objects, classes, inheritance, and polymorphism. The concept for the Ada programming language originated in 1978 at the U. S. Department of Defense. The first versions of Ada were procedural, but in 1995, the language was modified to incorporate object-oriented features. A similar transformation took place with the C language in 1983, except that the object-oriented version earned a new name — C++. Hybrid languages, such as Ada95, C++, Visual Basic, and C#, give programmers the option of using procedural and object-oriented techniques.

Java is one of the newest additions to the collection of object-oriented languages. Originally planned as a programming language for consumer electronics, such as interactive cable television boxes, Java evolved into an object-oriented programming platform for developing Web applications. Java was officially launched by Sun Microsystems in 1995 and has many of the characteristics of C++, from which it derives much of its syntax. Like C++, Java can also be used for procedural programming, so it is sometimes classified as a hybrid language.

The object-oriented paradigm can be applied to a wide range of programming problems. Basically, if you can envision a problem as a set of objects that pass messages back and forth, the problem is suitable for the OO approach.

The object-oriented paradigm is cognitively similar to the way human beings perceive the real world. Using the object-oriented approach, programmers might be able to visualize the solutions to problems more easily. Facets of the object-oriented paradigm can also increase a programmer’s efficiency because encapsulation allows objects to be adapted and reused in a variety of different programs. Encapsulationrefers to the process of hiding the internal details of objects and their methods. After an object is coded, it becomes a “black box,” which essentially hides its details from other objects and allows the data to be accessed using methods.

A potential disadvantage of object-oriented programs is runtime efficiency. Object-oriented programs tend to require more memory and processing resources than procedural programs. Programmers, software engineers, and system analysts can work together to weigh the tradeoffs between the OO approach and runtime efficiency.

 

Comprehension check. Match the beginnings of the sentences in the first column with the endings in the second column.

 

Beginnings Endings
1. SIMULA laid foundations for 2. Smalltalk is regarded as 3. Java evolved into an object-oriented programming platform for 4. The object-oriented paradigm is cognitively similar to 5. Encapsulation allows objects 6. Programmers, software engineers and system analysts can work together a) to be adapted and reused in a variety of different programs. b) a classic object-oriented language. c) to weigh the tradeoffs between the OO approach and runtime efficiency. d) the way human beings perceive the real world. e) the object-oriented paradigm. f) developing Web applications.

 


Поделиться:

Дата добавления: 2015-09-13; просмотров: 108; Мы поможем в написании вашей работы!; Нарушение авторских прав





lektsii.com - Лекции.Ком - 2014-2024 год. (0.008 сек.) Все материалы представленные на сайте исключительно с целью ознакомления читателями и не преследуют коммерческих целей или нарушение авторских прав
Главная страница Случайная страница Контакты