swifter icon indicating copy to clipboard operation
swifter copied to clipboard

Question: Why work with generators?

Open vrwim opened this issue 5 years ago • 0 comments

I'm currently trying to fix an issue where overwriting the handler for GET/path/to/* does not give the correct result. While fixing that bug I have encountered issues because I am not familiar with iterators and recursion, and you seem to use & where it's not necessary (I think).

I'd like to know the reasoning behind using inout, generators and recursion instead of iteration and arrays because I'm thinking of rewriting a few functions to fix some issues I ran into and I don't want my pull request to go to waste.

vrwim avatar Aug 21 '19 12:08 vrwim