5 ms·
Objects combine information and operations. They should help keep disjoint things separate, and related things together. They do provide a simple metaphor for m
by rcoder 18y ago
Objects combine information and operations. They should help keep disjoint things separate, and related things together. They do provide a simple metaphor for modeling.
Not all objects are alike. Smalltalk is "pure"; Python and Ruby mostly "just work"; C++ is very complicated.
No programming paradigm can save you from under-specification. You need a very good description of your desired behavior before you start coding.