Prashant said:
There are lot of dicussion on C# is much better than C++. Why there is
no language to compute C#. This way we are accepting monopoly of M$.
Why there is no group which seriously tring to develop new language
better than C#.
You're assuming that C# is 'better' than C++ and that C# is displacing
C++, both of which are arguable. I think people don't develop a full
C++ replacement because it is very, very hard to write such a language.
Let me offer my thoughts on what makes a language successful. Beyond
its capabilities and performance is the ease-of-use of its
documentation. The documentation needs to be indexed by keyword, and
the repository should contain the entire range of topics from "hello
world" up to advanced topics like multi-threading and parallel computing.
For example, the documentation for the scripting language PHP is
easily downloadable in half a dozen formats (and over a dozen
languages). Not only does it contain the entire PHP documentation
superbly organized and indexed, but it also contains the user comments
with tons of tips and sample code. Where is the similar documentation
for C++?
In my experience, the C++ documentation is highly fragmented. STL is
here, MFC is there, ATL is here, the FAQ is there, the language
reference is only in books, and you can't even get the specification
without paying a copyright fee. Proof of this fragmentation is the
fact that so many posts in this forum get shot down for being
off-topic. Why don't the people in this forum really concerned only
about the standard make a forum like comp.lang.c++.standard? Or do
they just enjoy lording over the newbies who moth into this ng? How
welcoming and inclusive C++ must feel to those starting off knowing
little about programming, posting their question on C++ in the
comp.lang.c++ forum, and being told to go away! That attitude should
cause more fear for C++ aficionados than silly C# by M$.
Anyway, that's besides the point. My observation is that the lack of
consolidated, easy-to-use documentation makes the hurdle for learning
C++ unnecessarily higher than it ought to be. It seems that C# and
other languages will make inroads to the extent that they can function
in place of C++ with a lower learning curve. Maybe the fact that so
many people use C++ despite this obstacle is a testament to how
powerful the language really is.
--Anywhere else, this is just my two cents, but special for here, it
is just my one cent.