Skip to content

ProDigi-Developement/bootcamp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

OOP (Object Orientation Paradigm)

Good practices example chapters:

  • Start, creation of protocol and models Step 1
  • Add baseFood property Step 2
  • Add a maxAge property Step 3
  • Create a toString method Step 4
  • Owner property for pets and also access control Step 5

Bad practices example chapters:

  • Start, creation of single model Step 1
  • Add baseFood property Step 2
  • Add a maxAge property Step 3
  • Create a toString method Step 4
  • Owner property for pets and also access control Step 5

Both codes will run and delivery what is requested. However, the "good" example is more easy to maintain and open to changes without imply need to change everyone or impact on all user cases.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages