초보 개발자의 기록

Object-oriented design 본문

카테고리 없음

Object-oriented design

bambinodeveloper 2023. 10. 14. 17:03
728x90

Object-oriented design (OOD)

Object-oriented methodology to design a computional problem and its solution based on the consepts of objects and models. OOD works as a component of the object-oriented programming (OOP) lifecycle.

 

A typical object-oriented design (ODD) interview is hard because the interviewer expects interviewee to design a near-perfect solution to the given problem that covers all the edge cases.

 

OOD benefits software developers to design their systems efficiently. It allows code to reusable in a way that reduces redeundancy leading to shorter, more readable code. It makes easier collaborations, which increases productivity and leads to faster development of software.

 

Obejct-oriented Programming (OOP)

It is programming model that is dependent on the concept of object and classes.

OOP is a programming style, not a tool.

Every object has its own unique set of properties.

These properties are later accessed and modified through the use of various operations.

 

Essential concepts of object-oriented programming:

- Classes

- Objects

All objects have some state and behavior

A class can be thought of as a blueprint for creating objects.

 

- Attributes

Attributes are variables that represent the state of the object.

 

- Methods

Methods are like functions that represent the behavior of the object. 

 

 

728x90
반응형