Tagged Questions
33
votes
9answers
8k views
Does the usage of LINQ and Lambda Expressions lead to less readable code?
I'm having a discussion with a co-worker on Linq, I'll copy here:
Co-Worker: Lets be honest here. Linq
syntax sucks. It's confusing and
non-intuitive.
Me: oh come on, more
confusing ...
5
votes
3answers
1k views
Will there be any official LINQ like lambda based library for C++?
Given C++('11) has lambdas now, will there be any LINQ like higher order function library officially supported later? Is there any such library now being used in any production level code?
Obviously ...
0
votes
2answers
203 views
foreach in list or foreach in list.where [duplicate]
I don't know what to call this question.
This is my example:
foreach (var item in lstItem.Where(item => stock.ItemCode == item.ItemCode))
{
stock.ItemName = item.ItemName;
...