Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The ~12 levels of indentation and 5 layers of nesting are doing my head in personally but maybe my brainspace is too small.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: