News for hackers. Stuff that matters.
Re:in Rust, methods should be object safe by mcculley on Sunday June 02, 2024 @01:16PM (#40555708)
I write Java daily. I find a lot of value in marking functions as static to make clear that they are not methods. There is a lot less cognitive overhead wondering if they only operate on their arguments or if they drag in their closure and the rest of the universe.

There are no comments on this comment yet.