News for hackers. Stuff that matters.
Re:Writing secure Go code by timmytokyo on Monday November 04, 2024 @05:51PM (#42046881)
On further reflection, I think what makes this example particularly difficult to understand is not so much its use of generics, but the way it uses functions. It's a function that returns a function that takes another function as an argument. The generic [K,V] type arguments are actually pretty straightforward.

There are no comments on this comment yet.