Please enable JavaScript.
Coggle requires JavaScript to display documents.
OOP - Coggle Diagram
OOP
bad OOP symthoms
Rigidity
Viscosity
Fragility
Immobility
Needless complexity
Needless repetition
Opacity
Hard ot read
Concepts
Abstaction
Remove/Separate to focus in specific areas
Tool to manage complexity
Encapsulation
Bundling data and actions
Hide your data to control modificaiton
Access modifiers
- Private
+ public
# protected
~ package
Inherince and classification
Reuse of capabilities
Specialization
Generalization
Polyorphism
Taking many forms
Class
Design Principles
Single Responsability Principle
Each class should has only one job
Open/Closed Principle
Open for extension
Closed to Modification
Liskov Substitution Principle
Interface Segragation Principle
Clients must not be forced to implement methods they won't use
Dpendency Inversion Principle
Abstraction combining data and atctions
A blueprint
Motivation
Reuse
Maintenance
Interface
Description of actions of an object without implementation
Coupling
Interdependences between modules
Cohesion
How related the funcitons between a module are
Definition: Its a development methology, programming language or approach to model, design or build software.