Alex Rivera | Logout

Design Principles

Asked 2008-09-19T01:37:52.727
15

What principles do you generally follow when doing class design?

Edit
Report

2 Answers

5

The S.O.L.I.D. principles.
Or at least I try not to steer away too much from them.

answered 2008-09-19T01:41:48.877
0

Basically I get away with programming to interfaces. I try to encapsulate that which changes through cases to avoid code duplication and to isolate code into managable (for my brain) chunks. Later, if I need, I can then refactor the code quite easily.

answered 2008-09-19T02:03:32.710

Your Answer