"Always use early returns" - LinkedIn Edition
Ahhhh dear LinkedIn - a pool of gems where everyone is expert in everything. Over the time I collected some trophies from there and today I want to discuss one of them: "Always use early returns".
Ahhhh dear LinkedIn - a pool of gems where everyone is expert in everything. Over the time I collected some trophies from there and today I want to discuss one of them: "Always use early returns".
I came across a recent LinkedIn post about the let
statement in LINQ and it's performance implication. And in typically influencer fashion it out right claimed that using let
in LINQ is a bad idea and should be avoided. But is it a bad idea?