| RHS => Allan => Programming 2 => Notes => Design Guidelines |
Updated:
02/02/2004 23:36 WebMaster: allanhn@rhs.dk |
Design Guidelines
Xiaoping Jia
Title |
Page |
||
Avoid Public Fields |
210 |
||
Completeness of the Public Interface |
213 |
||
Separate Interface from Implememntation |
213 |
||
Preserving Invariants |
224 |
||
Use Assertion Aggressively |
226 |
||
Design by Contract |
227 |
||
Canonical Form of Public Classes |
227 |
||
Refactoring Recurring Code Segments |
253 |
||
Maximize Extensibility |
257 |
||
Prevent Misuses by Clients |
260 |
||
Program to an Interface, Not to an Implementation |
277 |
||
Separate Functionalities That Address Different Concerns |
290 |
||