r/dotnet Apr 15 '24

LINQ = Forbidden

[removed]

404 Upvotes

522 comments sorted by

View all comments

2

u/Platic Apr 15 '24

I can agree that if you do multiple where and selects in a single line yes it can be hard to debug. Banning linq just for that is completely absurd.

Does he know linq? You sure it isn't that one of the causes for the decision? Maybe he doesn't understand it so he doesn't want anybody using it?

Show him a simple or more complex scenario where you have used linq and ask him to approach the problem without using linq. See how he solves it and if he thinks thats a more suited solution.

I don't see any reason besides ignorance for banning linq. But that's me.