News for hackers. Stuff that matters.
Re:“ZLinq”, a Zero-Allocation LINQ Library for .NET by jayd16 on Wednesday May 21, 2025 @11:39AM (#44052651)
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.

Re:“ZLinq”, a Zero-Allocation LINQ Library for .NET by gwbas1c on Wednesday May 21, 2025 @01:16PM (#44053703)
(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.