2 ms·
I was about to post the same thing. The first one makes way more sense to me.
by TheAceOfHearts 9y ago
I was about to post the same thing. The first one makes way more sense to me.
- BoorishBears 9y agoIt’s weird watching old things become new again. I know C# didn’t do it first, but I’m only old enough to remember C# doing it... and watching people learn the hard way that extension methods pollute the global namespace very easily. This would be a textbook example of what not to use extension methods for, adding a very specialized extension to a basic type where a simple static utility method would suffice.