What does “favor object composition over class inheritance” mean?
Experience Level:
Not defined
Tags:
Answer
0Related JavaScript job interview questions
-
When is classical inheritance an appropriate choice?
JavaScript Mid-level -
When is prototypal inheritance an appropriate choice?
JavaScript Mid-level -
What are two-way data binding and one-way data flow, and how are they different?
Not defined -
What are the pros and cons of monolithic vs microservice architectures?
Not defined -
What is asynchronous programming, and why is it important in JavaScript?
Not defined