Lec 03
Tips
1
Use OO thinking in iP
When thinking about iP, practice OO thinking.
Technical Content
1
SRP (Single Responsibility Principle)
This is useful when use the OO thinking to organize a project. A.k.a, each class should be responsible for doing one thing.
More can be found on CS2113's website.
2
SLAP (Single Level Abstraction Principle)
According to the CS2113 website, it emphasizes that lines of code within the same segment should at the same level of abstraction.
Last updated