4 ms·
> I really can't stand the c-style naming conventions. Honestly I don't see much difference between upb_MiniTable_FindFieldByNumber and upb::MiniTable::
by teo_zero 5mo ago
> I really can't stand the c-style naming conventions.
Honestly I don't see much difference between
upb_MiniTable_FindFieldByNumber
and
upb::MiniTable::FindFieldByNumber
- eximius 5mo agoThose are fairly indistinguishable. It's when they start removing letters from words to save... debug symbol bytes or something? That's when c-style naming annoys me.
- adrianton3 5mo agoIn their defence "hi" sounds very much like "high" in my mind's ear and "lo" like "low" :)
- collabs 5mo agoThis is also my pet peeve with a lot of code as well as commands like npm -g i package-name Like why would you teach people to do this? I understand people needed to save precious bytes in the sixties so we have cat and ls but saving 192 bytes or whatever with shorter variable names is not a worthwhile tradeoff anymore.
- nchmy 5mo agoWhat exactly bothers you about this and what would you prefer to see?
- collabs 5mo agoI would prefer to see full names like npm install --global @scope/PackageName At least the hi and lo can get more meaningful names. And over time we can write this in another language with private/scoped methods.