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.
sorry can you please rewrite this is assembly so I can understand it
Jump in the discussion.
No email address required.
I can only understand lambda calculus personally
Follower of Christ
Tech lover, IT Admin, heckin pupper lover and occasionally troll. I hold back feelings or opinions, right or wrong because I dislike conflict.
Jump in the discussion.
No email address required.
More options
Context
More options
Context
this isn't jabascript![:marseybeanquestion: :marseybeanquestion:](/e/marseybeanquestion.webp)
Jump in the discussion.
No email address required.
More options
Context
!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
You look smarter when you use switch statements (even when they're totally unnecessary).
Jump in the discussion.
No email address required.
switch statement are less powerful than if-constructs. They encode the implicit contraint that one specific expression is compared against a table of constants, leading to less mental load for an experienced programmer.
Jump in the discussion.
No email address required.
More options
Context
my code would also look smarter hadn't i fricked up pointer -> and object . properties
Jump in the discussion.
No email address required.
More options
Context
More options
Context
ummm, sweaty, The Science says that there are 84 genders. Your code sucks.
Krayon sexually assaulted his sister.
![https://i.rdrama.net/images/17156480765435808.webp](https://i.rdrama.net/i/l.webp)
Jump in the discussion.
No email address required.
Else handles 83 of them
Jump in the discussion.
No email address required.
I see that and it's v v v chuddy and wrong.
Krayon sexually assaulted his sister.
![https://i.rdrama.net/images/17156480765435808.webp](https://i.rdrama.net/i/l.webp)
Jump in the discussion.
No email address required.
More options
Context
More options
Context
More options
Context
Remove lines 7 and 9
Jump in the discussion.
No email address required.
More options
Context
misterious
Jump in the discussion.
No email address required.
More options
Context
Jump in the discussion.
No email address required.
More options
Context