8 ms·
The most annoying thing about LINQ is that they use the SQL language. So unless you use C# and LINQ all of the time it's hard to figure out what functions trans
by MatthewPhillips 13y ago
The most annoying thing about LINQ is that they use the SQL language. So unless you use C# and LINQ all of the time it's hard to figure out what functions translate to the ones used by every functional language in the world.
I wish they would at least alias map, reduce, some, etc.
- recursive 13y agoYou really only have to figure it out once. And for users not familiar with the "standard" names, I think linq's naming is actually more intuitive.
- ajanuary 13y agotbh I don't think either are particularly intuitive in a "can guess it" sense. Both are intuitive in a "oh, that's what it's called, I can remember that now" sense.
- PommeDeTerre 13y agoMany C# users have experience with SQL, but not necessarily with functional programming languages. The number of these users likely far outnumbers the number of C# programmers who know functional programming languages, but not SQL. It makes sense to use terms that many C# (and SQL) users are already familiar with, rather than terms that they may not know of.
- dyselon 13y agoI understand the rationale, but in my experience knowing some SQL didn't help me understand LINQ at all. It was only after picking up some functional experience elsewhere and coming back to C# much later that LINQ made sense to me. I'd be really curious to see how the SQLesque naming's worked for others, but it was a bit of a miss for me personally.
- marcosdumay 13y agoWell, SQL is by far the most used functional language in the world.