3 ms·
I have used some iterator libraries for go and they do make for much more manageable code, especially if you start nesting iterators, like iterating over JSON w
by flanked-evergl 3y ago
I have used some iterator libraries for go and they do make for much more manageable code, especially if you start nesting iterators, like iterating over JSON which reads from an iterator over a blob from blob storage. And it also makes it simpler to apply filters at various points. Using callbacks also works but makes for nastier code.