DEV Community

Discussion on: Declarativity Comes at a Price

Collapse
 
oleggromov profile image
Oleg Gromov

Thanks for your response and a perfect example Jakob!

I'm not familiar with C#/LINQ but as far as I understand it's a tool that hides the complexity of DB/XML searching behind a slick interface. As we can see from your example, there's another point to be considered especially when it comes to junior developers. Declarative tools can unintentionally hide computational complexity - and provide small to no signs of that something goes wrong.

Collapse
 
t4rzsan profile image
Jakob Christensen

Thank you for your reply, Oleg.

It is true that there are LINQ providers for databases and for XML. But LINQ also provides a funtional interface for any type of collections, in the same way as you see reduce, map, and filter in other languages.