Skip to content

Instantly share code, notes, and snippets.

@imsky
imsky / Preferences.sublime-settings
Last active May 29, 2021
Sublime and iTerm settings
View Preferences.sublime-settings
{
"color_scheme": "Packages/Color Scheme - Default/Blackboard.tmTheme",
"caret_extra_width": 1,
"caret_style": "blink",
"font_face": "Ubuntu Mono",
"font_face_list":
[
"Ubuntu Mono",
"Source Code Pro"
],
View software-engineering-principles.md

SOLID

  • Single responsibility principle: a class should have only a single responsibility
  • Open/closed principle: software entities should be open for extension, but closed for modification
  • Liskov substitution principle: objects in a program should be replaceable with instances of their subtypes without altering the correctness of that program
  • Interface segregation principle: many client-specific interfaces are better than one general-purpose interface
  • Dependency inversion principle: high level modules should not depend on low level modules, both should depend on abstractions

https://en.wikipedia.org/wiki/SOLID_(object-oriented_design)