Khwooo’s Weblog

August 8, 2005

OOP

Filed under: php — khwooo @ 6:08 pm

最近開始回憶一些基本的東西,例如OOP,找一個programmer問問,他一定知道OOP是什麼,就是Object Oriented Programming,台灣這邊叫做物件導向程式設計,但是,如果請他解釋一下OOP,他可能就會開始支支吾吾了…

下面這篇敘述了OO的觀念,編寫程式的基本技巧與認識

物件導向(Object oriented)就是把現實世界中的物體或現象,以更接近自然的形式在電腦世界中反映出來。每一個物件都有屬於自己的屬性(Property)和方法(Method),屬性是物件特有的性質,物件與物件之間是藉由方法來傳遞訊息(Message),每一個物件藉由事件(Event)作出適當的反應為其處理程序。

還有Wikipedia上面對於OOP的定義

Object-oriented programming (OOP) is a computer programming paradigm in which a software system is modeled as a set of objects that interact with each other.

另外,Inheritance of OOP by AAx Software & Programming Glossary

the current “latest & greatest” programming method. Structured programming taken to another level. The object of object oriented programming is to program well tested “objects” that can be used over and over in different programs without further testing. .

恩,你想起來了嗎?

補兩個連結:
物件導向的天空
OOP的四特性是什麼呢?

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: