4 ms·
Is it just me, or does it look like a couple of these features (Automatic type deduction, Lambda expressions) seem to be borrowed from c#? And similar things ar
by StrawberryFrog 18y ago
Is it just me, or does it look like a couple of these features (Automatic type deduction, Lambda expressions) seem to be borrowed from c#? And similar things are in languages like Ruby and Python.
I'm not saying that's a bad thing (or the reverse), and not saying that c# invented these ideas: I'm fairly sure that the c# designers only let in features that have already been road-tested in other, more experimental languages.
Just interesting which was around the ideas are flowing.
- coliveira 18y agoI had heard about automatic type deduction in C++ even before it was implemented in C#. The problem is that takes several years to get a C++ standard approved, while the C# team can just dream a feature and start implementing it in the next day.
- StrawberryFrog 18y agoI'd disagree with "the next day" part. C#3 (with automatic type deduction and lambdas) had a beta period of about a year, to make sure that all the new features played nicely with each other.
- timr 18y agoThey've been standardizing C++0x for at least three years now.
- shimi 18y agoWriting C++ I've found myself all the time implementing C# classes. When doing Win32 development C++ looks like a waste of time. If I want something to run on Windows only I can produce the same result with both languages. If I want to create a multi platform application I'll use Java or Pyhton. C++ isn't going to die, you've got too much code out there, but its place starts to fade away
- deleted 18y ago[deleted]