Better HN
topnewbestaskshowjobs
Log inSign up

polaroidkidd

1 karma · joined Mar 3, 2017 (9y ago) · 1 submissions

Submissions

comment 1y ago · link · parent

I'm confused. The article states that passing everything into every function is bad but then uses the context to store all the references and passes that into every generator. Yes, it looks slightly cleaner and allows for some better testing, but I can't quite see why we'd need generators for that pattern.