News for hackers. Stuff that matters.
Re:Lombok makes Java cool again by apta on Friday February 01, 2019 @03:00PM (#19057886)
> Consider something like filepath.Walk in go; you give it a function that gets called for every file and directory in the root of your choosing. They don't call it a visitor, though, they call it a "walk function".

The ironic thing is that golang doesn't have an even better construct for this kind of pattern, namely pattern matching.

There are no comments on this comment yet.