Hacker News new | ask | show | jobs
by hinkley 955 days ago
I'd like to see us start measuring the quality of libraries by how difficult it is to trace through them from client code.

I've worked with a few too many instances of code golf where the resulting code requires too many brain cells to comprehend. If I wanted to dedicate 5% of my attention to 50 different libraries, I'd need 3 more brains to do it, but most libraries are written that way. Some seem to think they're entitled to 10%. More.

Show me a library that's a snoozefest to figure out why I put it 5 and got out false when I expected true. That's the one I want to use.