Re:What Makes Code Hard to Read: Visual Patterns of Complexi...
by diatone on Wednesday March 12, 2025 @09:46AM
(#43343214)
Ahh, it gets really interesting when you read code that does have named variables… and they’re misleading.
A strength of functional idioms is that they expose the structure of the code in a way that a name - even a well chosen name - can only hope to achieve. Often, succinctly and comprehensively. At that point you stop caring so much about variable names. They’re still there but you need them less
That said, you didn't address my comment at all. It might be easier, but that doesn't mean it is easy to figure out what that long chain is really done - all too often the algorithm names don't tell you what you are really trying to accomplish in my experience.