Hoạt động trung tâm của lập trình hướng vật thể là phân loại
Khái niệm:: Phân loại
Classifying is a central activity in object-oriented programming and distinguishes it from procedural programming. Traditional logic, initiated by Aristotle, assigns classification to our first activity in reasoning, whereby we come to know what a thing is. Such a grasp of the thing’s whatness is the foundation for all further reasoning about it.
Nguồn:: Is there any philosophical theory behind the concept of object in computer science?
Có 4 loại phân loại
Việc phân loại không quan trọng bằng việc chuẩn bị cho sự thay đổi sự phân loại
Nhiệm vụ của kiến trúc sư không phải là liệt kê hết các tình huống sẽ xảy ra, mà là thiết kế để dù các tình huống không ngờ tới xảy ra thì vẫn hoạt động ổn định