I can’t help myself, I love Expression-Bodied Members from C# 6! Combined with other powerful C# features it took this code:
public void OnPropertyChanged(string name) { var changed = PropertyChanged; if(changed == null) return; changed(this, new PropertyChangedEventArgs(name)); } to this:
public void OnPropertyChanged(string name)=> PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(name)); This is …
James Montemagno
I could not be more excited to announce my latest podcast adventure with my good friend and International Chess Master, Daniel “Danny” Rensch that we call Coffeehouse Blunders.
Join us each week on Coffeehouse Blunders as we discuss the latest in chess, coffee, tech, and anything else happening in our wonderful lives and around the world. Danny’s life as an International Chess Master collides with my mobile …
James Montemagno
Twitter recently launched Twitter Lite a stripped down “faster” and more “data friendly” version of their mobile app and refresh to their mobile website. It is more than just a new mobile website, it really is a Progressive Web App (PWA) that offers up notifications, camera integration, and some of the common features of twitter such as timelines, tweeting, and direct messages. It also benefits from being really …
James Montemagno
So you love unit testing…. said no one ever, but you are forced to write unit tests and you want to use Plugins for Xamarin which are all singletons and need platform specific implementations or they will throw an exception in your tests…. what to do?!?!? Plugins are all interface based, which means all we have to do is use standard practices to not directly call the singleton, and setup our code to return the …
James Montemagno