What leads to code-bloating in C++?
Answer:
Inline functions and templates, if not used properly, may lead to code bloating. Multiple Inheritance may also lead to code bloating (this is because the sub classes will end up getting members from all the base classes even if only few members will suffice). Techniques to avoid code blot are discussed in “Effective C++ programming”.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment