What is the 'Message Passing' view of OOP versus the 'Method Call' view?
Last updated
Message passing view (rooted in Smalltalk): the receiver interprets a request and picks behavior at runtime, even handling unknown messages.
Method call view (Java, C++, C#): the caller invokes a specific method checked at compile time and dispatched via a v-table, giving safety and speed but less flexibility.
They converge in practice: virtual method dispatch is a constrained form of message passing, while
method_missingor__getattr__show the fully dynamic form.
- https://www.igmguru.com/blog/oops-interview-questions
- https://tryrehearsal.ai/technical-questions/explain-oops-concepts
- https://github.com/Devinterview-io/oop-interview-questions
- https://www.hirist.tech/blog/top-30-c-oops-interview-questions-and-answers/
- https://www.interviewbit.com/oops-interview-questions/
- https://blog.stackademic.com/dont-just-code-the-15-essential-practices-senior-developers-want-you-to-learn-now-84246fb2f6ed
- https://www.reddit.com/r/ExperiencedDevs/comments/1mpaewh/how_should_i_deal_with_junior_devs_that_debate/
- https://www.scaler.com/topics/oops-concepts-in-cpp/
- https://javatechonline.com/interview-questions-object-oriented-programming/
- https://henko.net/blog/my-favorite-interview-questions/
- https://utkrusht.ai/blog/python-interview-questions
- https://www.digitalocean.com/community/tutorials/oops-interview-questions-answers
- https://www.scribd.com/document/510810151/Fragile-base-class