News for hackers. Stuff that matters.
Re:LINQ Ruined My Favorite Interview Question by hackinthebochs on Thursday July 11, 2013 @02:14PM (#6027926)
I disagree, but for different reasons than the other commenter. LINQ is great for transformations that are intuitively described by the verbs LINQ provides. If your transformation is most easily understood as a process of mapping filtering grouping selecting etc, then by all means. But trying to pigeonhole every iterative process into LINQ is a recipe for code that's hard to decipher. As always its a question of how does one communicate a process most effectively. Succinctness for its own sake is a fools errand. Clarity is key, and sometimes that means foregoing LINQ for standard iteration.

There are no comments on this comment yet.