Loading User Information from Channel 9
Something went wrong getting user information from Channel 9
Loading User Information from MSDN
Something went wrong getting user information from MSDN
Loading Visual Studio Achievements
Something went wrong getting the Visual Studio Achievements
C++ and Beyond 2012: Panel - Convincing your Colleagues
Jan 04, 2013 at 8:03 AMI would really love to see Scott and Herb duke it out over auto.
C++ and Beyond 2012: Scott Meyers - Universal References in C++11
Oct 15, 2012 at 7:25 AMThe cpp/h files issue was my biggest gripe when moving to a project in C++ at work. I've since gotten over it, and use an extension to Visual Studio which makes it incredibly easy to work with the two files. That said, header files themselves are a great way to glean the interface of an object (granted, modern IDE's do this for Java/C# with "outline" views anyway); so they're not all bad. As @STL has alluded to, the standards body is making headway toward modules which will ideally rid most of the headaches of dealing with header files. Headers aren't great, but they're certainly not a reason enough to ignore C++, IMO.
As STL pointed out, tuples are well supported in C++(11). As for extension methods, C++ isn't locked into the OOP paradigm like C#/Java, so it has something close (albeit syntactically distinct): non-member functions.
http://pastebin.com/TE4BgKNi
So, you can build non-member functions that act on an object, effectively "extending" it's behavioral methods. Bjarne actually suggests preferring non-members for any function that doesn't maintain the "invariance" of an object [1]. This is a bit of a programmer mindset issue, however, that I don't think will see a whole lot of adoption. One solution would be to borrow D's "Uniform Function Call Syntax" [2].
I disagree. C# and C++ are different languages for different purposes. If anything, it would be a better approach for MSFT to make a more concerted effort toward a native-only compilation option for C# built for WinRT.
[1] http://www.artima.com/intv/goldilocks4.html
[2] http://www.drdobbs.com/cpp/uniform-function-call-syntax/232700394
C++ and Beyond 2012: Scott Meyers - Universal References in C++11
Oct 15, 2012 at 7:10 AMI completely agree. I know personally a handful of developers who are using C++11 features, yet don't fully understand rvalue references yet, and especially not the concept of "universal references". They're still taking advantage of STL's move-supported containers, they're moving unique_ptrs around, etc. So although important, the material in this video isn't required learning in order to make use of C++11 (though it most certainly wouldn't hurt).
C++ and Beyond 2012: Scott Meyers - Universal References in C++11
Oct 12, 2012 at 12:27 PMI think Charles may have gotten a little carried away. Watch Bjarne's presentation from Going Native 2012, "C++11 Style". He shows how strong abstractions can be built using C++11 that are clean and modern. Universal references, move semantics, etc don't generally come into play until you're ready to nitpick and really push the performance of your code. A fully conforming compiler will generate move constructor/assignment operator for you, so if your class is trivially movable, it will be. Watching this video, which in my opinion applies more to a library developer (or someone who wishes to more fully understand a library), then stating that the language is too complicated seems silly to me.
You can watch a video on how the internals of a combustion motor work, but it still takes just two (or three) pedals and a steering wheel to drive. Not everyone needs to build a motor to commute to work.
Stephan T. Lavavej: Core C++, 3 of n
Jul 25, 2012 at 10:44 AM@NotFredSafe: This was the next video on the Channel 9 homepage ticker http://channel9.msdn.com/posts/Dina-Dublon