Hacker News new | ask | show | jobs
by psini 375 days ago
The ~12 levels of indentation and 5 layers of nesting are doing my head in personally but maybe my brainspace is too small.
1 comments

I think this perspective explain the issue well: you pretty much cannot unit test this (unless you consider the whole function a unit). It becomes very unclear what each lambda expression is about, the deeper you get.