4 ms·
You don't understand 'readability' the same as the language creators. More text to read doesn't necessarily make a file or function less readable. Quite the op
by JyB 4y ago
You don't understand 'readability' the same as the language creators.
More text to read doesn't necessarily make a file or function less readable. Quite the opposite usually.
- kaba0 4y agoI don’t know, I understand most assembly line I see in isolation, yet often have no idea what the whole does. Sometimes too primitive primitives actually hinder readability/understanding. I know many don’t feel that way, but functional stream manipulation is a very good example for that — I much rather deal with filter.map.reduce whatever, than 3 nested for loops with random breaks inside, even though the latter may be easier to reason about line-by-line
- noisy_boy 4y agoIntelliJ collapses the repeatedly occurring err != nil blocks with expandable placeholders in grey color to aid readability. Not the ultimate evidence but says something when a commercial product spends effort behind such features.
- rowanG077 4y agoNot necessarily no. It's a balance. And Go skews so far that it's no longer reasonable. It's so bad that the most popular Go IDE by default removes the error handling code from view.