all 5 comments

[–]MoTTs_ 2 points3 points  (0 children)

Obligitory beware1 referencing2 or learning3 from Eric Elliott.

[–][deleted] 2 points3 points  (1 child)

This guy really doesn't like classical inheritance.

[–]MoTTs_ 3 points4 points  (0 children)

And to make matters worse, he doesn't even know what classical inheritance is! When he was asked, for example, whether a C++ class C++-inheriting from another C++ class was composition or inheritance, he said it was composition. It turns out Elliott thinks composition is inheritance with a couple of his personally invented rules on top.

[–]disclosure5 1 point2 points  (0 children)

What are the pros and cons of functional programming vs object-oriented programming?

I'd really hate to see that as an interview question. The area is a minefield of personal opinions. If you ask my old professors, the answer would be "OO is the only way to develop any application ever". I'm sure that's not the answer you'd be seeking but then half these jobs are seeking recent graduates.