|
|
|
|
|
by upthedale
5041 days ago
|
|
Oh yes, I did actually realise that. Thank you though. I worded it badly. I should have been clearer in that I was following on from solutionyogi's argument about readability. The compiler example is a bit on the ugly side, wouldn't you say? To then access 'keywords', it becomes ...
.Where(anon => anon.keywords[0] == "verybadexample")
.Select(anon => anon.post);
What I should have said was that I'm not sure how you would scope things in the same way as the 'let' clause when using extension methods with the same level of readability. |
|
I think each have their place, but this absolutely enrages me: