-
Notifications
You must be signed in to change notification settings - Fork 4
SOLID Principles
Dear class, you have one job. Do it or we debug you.
"open for extension, closed for modifications"
Can add more classes but abide by the current client implementation.
The parent class can be replaced by the child class without changing the desired property of the program.
Clients should not know of methods they don't need. TLDR, mind your own contract (interface). Let other clients do the other contracts.
Similar to ISP but in a sense that you can only see the contract but not behind the scenes (the implementation).
Peer Learning
Guides
Setting Up Checkstyle
Setting Up Java
Setting Up MacVim
Setting Up Stu
Setting Up Unix For Mac
Setting Up Unix For Windows
Setting Up Vim
Setting up SSH Config
SSH Without Password
Copying Files From PE Nodes
Using tmux
CS2030 Contents
Lecture 1 SummaryLecture 2 Summary
Access Modifiers
Lecture 3 Summary (Polymorphism)
Compile Time Type VS Runtime Type
Abstraction, Encapsulation, Inheritance, and Polymorphism
SOLID Principles
Class VS Abstract Class VS Interface
Comparable VS Comparator
Generic Types T
HashMap
Raw Types with Generic
Lambda expression
PECS (Producer Extends Consumer Super)
Optional
Streams
Parallel Streams
Monad
Functors and Monads with Category Theory