One such set of principles is SOLID (first introduced by Robert C. Martin).

SSRPSingle Responsibility PrincipleA class should have only one reason to change.
OOCPOpen Close PrincipleSoftware entities should be open for extension but closed for modification.
LLSPLiskov Substitution PrincipleSubtypes must be substitutable for their base types without affecting the correctness of the program.
IISPInterface Segregation PrincipleClients should not be forced to depend on interfaces they do not use.
DDIPDependency Inversion PrincipleHigh-level modules should not depend on low-level modules; both should depend on abstractions.

Each principle plays a vital role in fostering maintainability, scalability, and testability in your programs.

Further reading

  1. SOLID in frontend - https://dev.to/vyan/mastering-solid-principles-in-react-elevating-your-code-quality-2c6h
  2. SOLID in backend - https://packagemain.tech/p/mastering-solid-principles-with-go

    All notes