3 ms·
This is less a problem with the code being well commented and more a problem with it being difficult to understand. Comments can help clarify a difficult to und
by lojack 9y ago
This is less a problem with the code being well commented and more a problem with it being difficult to understand. Comments can help clarify a difficult to understand block of code, but they don't make that code more readable, which doesn't really solve anything when you go to maintain it.
The fact that the code is unreadable is because it's written by a ML expert. I'd say it's actually higher quality than you'd usually get from academia, but nowhere near what you'd see outside of that. Academic code serves a very different purpose than production code. It's meant to prove a point and usually not used after. There simply isn't incentive to write well tested maintainable code.