2 ms·
I never understood why some languages like Rust are so inconsistent here: snake_case for non-type identifiers, but PascalCase rather than Snake_Pascal_Case for
by atombender 4y ago
I never understood why some languages like Rust are so inconsistent here: snake_case for non-type identifiers, but PascalCase rather than Snake_Pascal_Case for types.
Maybe OP's study is real, but the underscore has always bothered me. I'm fine with it in principle, but it creates visual noise, since pretty much all fonts put the underscore below the baseline.
Here's a mockup that fixes the vertical placement of the underscore (right hand side):
https://i.imgur.com/5sF3QMH.png https://i.imgur.com/5sF3QMH.png
Much better!