Return exceptions for exceptional situations. Return result objects for other non-happy-path results.
How to identify when is something “exceptional”?
I faced an interesting challenge, where a data-bound property executed logic, but before the Visual Tree had refreshed, so my control did not work as expected.
Why use the console instead of a GUI? Or why use a simple text editor instead of an all-powerful IDE?
I was perplexed with the shift in the industry towards Consoles and Text Editors. Why would anyone in their right mind use VIM instead…
C#’s VAR keyword is very useful. It was introduced originally (for the most part at least) to allow dynamic language features and use of anonymous types.
Since I don’t use those features very often, what I really like is that it gets rid of unnecessary junk in your…
I have noticed a stigma attached to underscores being used in method or variable names. For example, most people I have worked with prefer AMethodNameLikeThis() over a A_Method_Name_Like_This().