3 ms·
Unchecked Exceptions make a big difference as well. Otherwise, some kind of exception forwarding would need to be handled. Extension methods allow LINQ to be
by jayd16 1y ago
Unchecked Exceptions make a big difference as well. Otherwise, some kind of exception forwarding would need to be handled.
Extension methods allow LINQ to be implemented as library over all the existing collection types instead of needing child types or refactoring the core collections library.
- gwbas1c 1y ago(Perhaps that is why I never got the hang of Java's LINQ equivalent?) Java has RuntimeException, which is unchecked. Granted, I can understand why some developers don't understand why some exceptions need to be checked versus not checked. Rust got this right with its Result type and panic.