C# design team is/was unparalleled
C# design team is/was unparalleled
It is relatively easy to find similar capabilities in most languages nowadays, unless one is stuck on Go, C and similar.
Maybe you do simulate some of this using meta programming in ruby but its certainly not 'easy to find'.
And I explicitly left Go out of my list.
yes thats what linq is?
https://learn.microsoft.com/en-us/dotnet/csharp/linq/
"Language-Integrated Query (LINQ) is the name for a set of technologies based on the integration of query capabilities directly into the C# language." With LINQ, a query is a first-class language construct, just like classes, methods, and events.
doing this in java is not LINQ imo
List<Integer> lowNums = filter(toList(numbers), new
Predicate<Integer>() {
@Override
public boolean apply(Integer n) {
return n < 5;
}
});
var lowNums = Arrays.stream(numbers).filter(n -> n < 5).toList();
2024's Java is also quite a bit better than 2013's Java.Which still isn't as nice as LINQ, but this way we've painted the alternative in its best light, not in the light that makes C# look the best.
my point was that laguange support for sql like sytax is part of what makes LINQ linq. Java niceties is not relevant.