6 ms·
I don't speak C, but as a long-time web developer, it smells to me to see "Center" capitalized in the flexbox snippet. Why is it different than CSS? How is a
by bsimpson 7y ago
I don't speak C, but as a long-time web developer, it smells to me to see "Center" capitalized in the flexbox snippet. Why is it different than CSS? How is a developer supposed to understand the capitalization rules?
https://www.boden.io/reference/ui/yoga/layout/ https://www.boden.io/reference/ui/yoga/layout/
- rayiner 7y agoIn C/C++ a common style is to use camelcase with an initial lower case letter for variable like things and with an initial upper case letter for constant or enumeration like things.
- layoutIfNeeded 7y ago>How is a developer supposed to understand the capitalization rules? By relying on the compiler to check it?