Hacker News new | past | comments | ask | show | jobs | submit login

Agreed that deeply nested function application is hard to read, for any purpose (not just matrix multiplication), which is why anyone who cared about readability and verifying correct readability would split it over multiple lines/expressions. Method chaining, given the functions return the correct types, could be a way to avoid that deep nesting too.



Usually the algorithm is described in another document without several expressions & lines. "Readability" in some of these contexts means verifying that you've correctly typed in the expression.




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

Search: