This blog to share my technical finding for the day while working on my project or reading technical information on the internet. Help the techies to get information in one window.
A class should only have a single responsibility, that is, only changes to one part of the software's specification should be able to affect the specification of the class. See example here
"Objects in a program should be replaceable with instances of their subtypes without altering the correctness of that program." See also design by contract.
Comments