1. OOP

Object Oriented Programming : 객체 지향 프로그래밍. 객체를 지향하는 프로그래밍입니다.이 이전에 Object Based Progamming 것이 있었다.이 다음 세대의 프로그래밍 기법은 GenericProgramming이라고 이야기된다.

1.1. OOP...

1.1.1. Definition

Object-oriented programming is based in the principle of recursive design.
1. Everything is an object.
2. Objects perform computation by making requests of each other through the passing of messages.
3. Every object has it's own memory, which consists of other objects.
4. Every object is an instance of a class. A class groups similar objects.
5. The class is the repository for behabior associated with an object.
6. Classes are organized into singly-rooted tree structure, called an inheritance hirearchy.

1.1.2. Basic Idea

”Emphasis from verbs to nouns”
It’s a natural way for people to ”think in objects”.
Program consists of objects interacting with eachother Objects provide services.

1.1.3. 이익

Clearer and easier to read
Easier to maintain
Code is more easily reusable

1.2. 용어

1.2.1. Basic rules to define objects

Objects should correspond real word objects
Responsibily area should be simple and compact
All actions should be delegated to objects
Don’t mix responsibilities
Keep responsibily areas as general as possible to garantie reuse.

1.3. 엮어가기

UML로 표기할수 있다.
객체지향용어한글화토론

1.4. 바깥고리

1.4.1. 도움되는 페이지

http://users.evitech.fi/~hannuvl/sy04/oop_cp.htm : C++ OOP강의.
UML&OOP(http://www.codeproject.com/cpp/oopuml.asp)


Retrieved from http://wiki.zeropage.org/wiki.php/OOP
last modified 2021-02-07 05:23:52