|
|
|
|
|
by thaumasiotes
1301 days ago
|
|
> Consider h::i::j::k versus h.i.j.k > Two :’s is an extremely loud combination of visual elements compared to the subtle point. :: drags the eye away from the content and says “look at me oscillate” > In addition, humans group similar visual elements together so a combination of anything::doesnt::matter::what::between::clumps it is impossible to escape the common pattern and the eye jumps between the ::’s. Therefore it takes double the cognitive load to read. It is true that the colons take up more space and your example looks good on HN. But this problem will be immediately solved by syntax coloring. It's just never going to come up. |
|
Rust is safe but it’s at least as ugly as C++.