DevoWeek #11

How to create lambda expression from string, Ports and Adapters is functional, what service metrics should be monitored…

DevoWeek #10

AWS in Visual Studio with ASP.NET Core Apps, Function isomorphisms, Don't fear the Monad, Programming The Blockchain in C#…

DevoWeek #9

Two common mistakes with async/await in C#, Arrow library, Why FP matters, Why you must learn F#, TaskTupleAwaiter…

DevoWeek #1

Funny easter egg, last touched objects in MSSQL, LINQ query examples, C#7.3 Ranges, Angular alternative template…

Refactoring extension method

I was assigned to do a code review on this extension method public static bool ToBoolExtended(this object obj) { if (obj != null) { if (obj.ToString() == "0") return false; else if (obj.ToString() == "1") return true; return Boolean.Parse(obj.ToString()); } else { return false; } } It compilies and…