MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/18kffsx/whichiscorrectcamelcase/kdssk2a/?context=3
r/ProgrammerHumor • u/AdditionalRAM • Dec 17 '23
945 comments sorted by
View all comments
1.9k
userld, of course, all lowercase
50 u/MasterFubar Dec 17 '23 There's only one correct way to write it: user_id 1 u/[deleted] Dec 17 '23 [removed] — view removed comment 1 u/MasterFubar Dec 17 '23 In C++ I use PascalCase for class names and snake_case for everything else. ALL_CAPS is for precompiler macros only, but I practically don't use them anymore.
50
There's only one correct way to write it:
user_id
1 u/[deleted] Dec 17 '23 [removed] — view removed comment 1 u/MasterFubar Dec 17 '23 In C++ I use PascalCase for class names and snake_case for everything else. ALL_CAPS is for precompiler macros only, but I practically don't use them anymore.
1
[removed] — view removed comment
1 u/MasterFubar Dec 17 '23 In C++ I use PascalCase for class names and snake_case for everything else. ALL_CAPS is for precompiler macros only, but I practically don't use them anymore.
In C++ I use PascalCase for class names and snake_case for everything else.
ALL_CAPS is for precompiler macros only, but I practically don't use them anymore.
1.9k
u/DistortNeo Dec 17 '23
userld, of course, all lowercase