Next time you have an interview
-
Not to quibble but polymorphism is not the most important concept in OO. In fact, without inheritance you can't have polymorphism. (BTW, hiding implementation behind interfaces is a form of inheritance)
Need a C# Consultant? I'm available.
Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway -
Throw the guy for a loop when he or she asks for the three fundamental concepts of object oriented programming. Depending on which book you read there are three, five, or eight fundamental concepts of object oriented programming. Who can name all eight without looking, all five, and all three? Bonus, if you can identify which book the five and eight come from. (No web searching)
Need a C# Consultant? I'm available.
Happiness in intelligent people is the rarest thing I know. -- Ernest HemingwayEnnis Ray Lynch, Jr. wrote:
three fundamental concepts of object oriented programming
Data hiding must be the highest on the list since it is the reason why we have OO engineering. Polymorphism is crucial to creating objects of different type with similar interfaces alowing the same code to manipulate any type. Inheritence is usefully, but not necessary, so it comes down the list. As for the rest, they must be minor details like abstract classes, multiple inheritence, operator overriding, ... hmm, thats ablout it for me.
Morality is indistinguishable from social proscription
-
Next time cover his question/answer sheet, and ask him to name them to you without pause.
xacc.ide - now with IronScheme support
IronScheme - 1.0 alpha 2 out now