Love the HW specs.
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
Love the HW specs.
?. is C# 6.0's Null Propagation Operator. As mentioned, it replaces to the need to write null checks explicitly (if x == null) return; ...
x?.DoSomething() won't throw a NullReferenceException when x is null, nothing will happen, just like when you test for null explicitly and do nothing when the object in question is in fact null...
Simple, but elegant language addition.
There is nothing wrong with the pattern of testing for capabilities before trying to do something in a UWP. It's the precise reason this API exists...:) You don't expect a Desktop PC or Laptop to vibrate, so make a simple check to see if the device your code is running on supports the feature you're programming (you don't expect all Windows 10 devices to have a vibration facility, so program with this fact in mind).
Now, one could argue that the underlying system could do theses checks automatically, but then what would the system do in the cases where the facility is not present? That is, you would want to program a UWP to react to missing device-specific capabilities, accordingly (in this case, if the device can't vibrate, change the background color of the current UI page or whatever makes sense in your design.).
@evildictaitor: I don't think we're debating anything here... This post is about a UWP app that employs the WebView control to make a web browser with custom chrome... The app, not the underlying machinery, is written in JS, HTML, CSS. Then there's a small CX component. EdgeHTML, WebView, WinRT, Windows, yes, C++ and C with and without classes... :)
@evildictaitor: Right... The point is, as the title suggests, this is a UWP app written in JS, CSS, and HTML, plus a small amount of C++/CX...
It's basically a great advertisement for the new WebView control, now with less memory leaks and more perf! But, it is also about EdgeHTML (which is not IE) - the (certainly native impl) underlying technology of the web control (and the Edge browser...). :)
@brian.shapiro: The Feedback app also has a Reproduce button you can click on to have a bunch of tracing done while you reproduce the problem. You can attach pictures and files, too.
When it comes to the Feedback app, just remember: There's a category for that.
What's the point in creating a thread like this? Oh yeah, wasting time....
@felix9: What makes you think Radigan's job post is related to a new language...? He's looking for a talented and capable compiler developer to join his team, the folks who build the back end of VC++... You're reading way too much into this. :)