Sunday, July 12, 2009

Why native C++ is too complex?

I think this comes from the poor implementation and naming convensions used in C++ standard libraries.


But if we can just reorganize the class library we will get the same high performance cobined with simplecity.


what you think guys overthere?

Why native C++ is too complex?
The standard libraried are created by keeping in the mind that they should be efficient enough than the library written in C++ for same purpose.
Reply:Approach looks fine... go fot it... try it.... and launch it as an open-source... only then you can get the true picture.
Reply:Actually the apparent complexity inthe C++ class libraries is not due to poor implementation but due totheinherent nature of C++.


What apparantly looks like complexity is really just the intelligent use of C++ which allows easy expansion and empowermentof the class libraries... for example the file handling libraries could have implemented simply as standalone classes instead of making it derived from the whole ios heirarchy. But the heirarchy was made so as to exploit the power of inheritance inherent from the architecture of C++. Even the hungarian notation ( used in the MFC class libraries ) may seem idiosyncratic but this makes the job of remembering data types so much more easier...


The complexity looks complex only in the beginning... in time one gets used to it and then seems just like second nature.





Yours


The Bazeegar


No comments:

Post a Comment