C# 2.0
Is it better than C++? Is it just a glorified version of C#? I hear it's supposedly supposed to replace C++ all together. It comes out in April.
C# 2.0
Is it better than C++? Is it just a glorified version of C#? I hear it's supposedly supposed to replace C++ all together. It comes out in April.
That's not happening.I hear it's supposedly supposed to replace C++ all together.
According to wikipedia, some of the changes areIs it just a glorified version of C#?
* Partial types (separation of class implementation into more than one file)
* Generics or parametrized types. They differ from Java in that parametrized types are first-class citizens in the Virtual Machine, which allows for optimizations and preservation of the type information. See a simple example of C# 2.0 generics.
* A new form of iterator that employs coroutines via a functional-style yield keyword similar to yield in Ruby and Python
* Anonymous methods providing closure functionalityI wouldn't say so. It seems to me that it tries to protect you too much, and is therefore slower.Is it better than C++?
You're confusing "better" with "different". C# is different from C++, and they can't be objectively compared in the general case.Is it better than C++?
I've heard that claim for years "so and so language is going to replace such and such language". It hasn't happened before, and I don't see it happening this time. C# 2.0 is just another tool in the ol' toolbelt.I hear it's supposedly supposed to replace C++ all together.
Just because I don't care doesn't mean I don't understand.
Narf is correct. It's just another tool, and it will help you depending on the project. Microsoft is marketing their .NET platform. They're not taking over the world. They're targeting Window developers to increase productivity with a 10% decrease in speed.
AHHHHH! I am beginning to think that you want to start these "Little Wars" that you were talking about not wanting to happen. If you want people to tell you that C# 2.0 is better than C++, go to the C# forum. If you want the wars to happen keep posting here because the wars will still happen.
Adam