Skip to content

NimeshPiyumantha/Software-Principles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Software-Principles

This is to demonstrate Software Principles Implementation.

wakatime

Project Branches Contents

SOLID

  • Single Responsible Principle
  • Open/Close Principle
  • Liskov Substitution Principle
  • Interface Segregation Principle
  • Dependency Inversion Principle

Single Responsibility Principle

  • This principle states that there should never be more than one reason for a class to change.Should have one purpose.

Open / Close Principle

  • This Principle States that Software entities (class,modules,functions,etc..) should be open for extension but closed for modification.

Liskov Substitution Principle

  • This principle states that objects of a superclass shall be replaceable with objects of its subclasses without breaking the application.

Interface Segregation Principle

  • This principle states that Clients should not be forced to depend upon interfaces that they don't use.

Dependency Inversion Principle

  • The Dependency Inversion Principle states that :
    • High Level modules should not depend upon low level modules.Both should depend upon abstractions.
  • It helps uss to develop loosely code by ensuring that high-level modules depend on abstractions rather than concrete implementations of lower-level modules.
    "The class which is performing a task with the help of other class is a High-level Class."

- Create New Branch and Push It

  • git checkout -b <your-new-branch>
  • git add .
  • git commit -m <message>
  • git push --set-upstream origin <your-new-branch>

- Move to Branches

  • git add .
  • git stash
  • git checkout <your-new-branch>

Clone this repository

https://github.com/NimeshPiyumantha/Software-Principles.git

Connect with me

If you have any bugs or issues , If you want to explain my code please contact me on :


MAIL ME 

__NimeshPiyumantha__ https://www.linkedin.com/public-profile/settings?trk=d_flagship3_profile_self_view_public_profile Nimesh Piyumantha _.nimmaa._

repo license repo size GitHub forks GitHub stars GitHub LastCommit

@2023 Nimesh Piyumantha, Inc.All rights reserved

About

This is to demonstrate Software Principles Implementation.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages