Previously, the Extension methods - An introduction post showed the basics of extension methods. This post will show more advanced usages of extension methods. Regular instance methods throw a NullReferenceException when called on a null instance.
Why composition is often better than inheritanceAn important question in code structure is whether to make classes work together through composition or inheritance. The "has a" relationship versus the "is a" relationship. For example: a seat has a cushion and a seat is a piece of furniture.
Doing the Microsoft Shuffle: Algorithm Fail in Browser BallotMarch 6th Update: Microsoft appears to have updated the www.browserchoice.eu website and corrected the error I describe in this post. More details on the fix can be found in The New & Improved Microsoft Shuffle. However, I think you will still find the following analysis interesting.
Coding shenanigans and a little bit of HodorBoth me and my wife watch Game of Thrones weekly, although I do it with much less fidgeting, sighing and dissatisfied head shaking, since I haven’t read the books.
Rob Pike's 5 Rules of ProgrammingRob Pike's 5 Rules of Programming Rule 1. You can't tell where a program is going to spend its time. Bottlenecks occur in surprising places, so don't try to second guess and put in a speed hack until you've proven that's where the bottleneck is. Rule 2. Measure.
The Profound Weakness of the .NET OSS EcosystemI’m in the process of writing up a lengthy set of blog posts for MarkedUp about the work that went into developing MarkedUp In-app Marketing, our real-time marketing automation and messaging solution for Windows desktop applications (and eventually WP8, WinRT, iOS, Android, Web, etc…)
The Algorithmic RaverIts hard to imagine a crowd of people dancing while staring mesmerised to someone hunched over a laptop programming in emacs.
The Swordsman and the Software EngineerOne of the largest mistakes you can make as a knowledge worker is to focus 100% of your time on your craft. It’s easy to believe that specializing and focusing will make you better than your peers, but I do not think that is the case.
10 Tricks to Appear Smart During Meetings — Conquering Corporate America — MediumLike everyone, appearing smart during meetings is my top priority. Sometimes this can be difficult if you start daydreaming about your next vacation, your next nap, or bacon. When this happens, it’s good to have some fallback tricks to fall back on.
Exploring Design Patterns with MongoDBThis Read-It-Later-list is just that, bookmarks of stuff I intend to read or have read. I do not necessarily agree with opinions or statements in the bookmarked articles.
This list is compiled from my Pocket list.