let us code futa society together!
int main(){
for(auto person: humans){
if(person.gender == 0 /* male */){
person->turnGay();
person->giveUterus();
}
else /* woman*/{
person->kill(DEATH_MISTERIOUS_DISAPPEARANCE);
}
}
}
Jump in the discussion.
No email address required.
!biofoids come & see(the)
Jump in the discussion.
No email address required.
Snake case user? Boo
Jump in the discussion.
No email address required.
person->turnGay
Jump in the discussion.
No email address required.
Look further down r-slur![:marseyfacepalm: :marseyfacepalm:](/e/marseyfacepalm.webp)
Jump in the discussion.
No email address required.
DEATH_MISTERIOUS_DISAPPEARANCE
is screaming snake case, which is different from snake case. How would you write your constants?Jump in the discussion.
No email address required.
I figured you were a kebab case user based on your username![:marseyteehee: :marseyteehee:](/e/marseyteehee.webp)
I’m a weirdo who likes PascalCase. Come at me.![:marseypunching: :marseypunching:](/e/marseypunching.webp)
Jump in the discussion.
No email address required.
You can't do kebab case in sepples. If you're in a C dialect, use
PascalCase
for types,camelCase
for functions, variables and methods, andSCREAMING_SNAKE_CASE
for constants and macrosJump in the discussion.
No email address required.
I’m a little stinker about following GCP.![:marseyjam: :marseyjam:](/e/marseyjam.webp)
About half of my coding knowledge was self taught in middle school (some foray into C and designing html pages for my personal blog and sailor moon fan pages
), and the other half is professional education and retraining my coding habits. I’m pretty stubborn in my habits ![:marseysmugautist: :marseysmugautist:](/e/marseysmugautist.webp)
Jump in the discussion.
No email address required.
Everybody leaned how to code in middle school - some of us were just competent (had a Y chromosome)![:marseythumbsup: :marseythumbsup:](/e/marseythumbsup.webp)
Jump in the discussion.
No email address required.
More options
Context
More options
Context
More options
Context
More options
Context
More options
Context
What? Do you want me to write
DEATHMISTERIOUSDISAPPEARANCE
? You monster!upper case with underscores is the correct case convention for global constants in c++![https://i.rdrama.net/images/16861652072571363.webp](https://i.rdrama.net/i/l.webp)
see here: https://www.geeksforgeeks.org/naming-convention-in-c/
Jump in the discussion.
No email address required.
My baseline coding skills were self-taught in middle school, so GCP goes out the window sometimes for every now and then bc muh old habits![:marseyautism: :marseyautism:](/e/marseyautism.webp)
Jump in the discussion.
No email address required.
More options
Context
More options
Context
More options
Context
More options
Context
More options
Context
More options
Context