Unable to load image

let us do some coding!

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);

        }

    }

}
11
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 :marseyandjesus: 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.

this isn't jabascript :marseybeanquestion:

Jump in the discussion.

No email address required.

!biofoids come & see(the)

Jump in the discussion.

No email address required.

Snake case user? Boo

:marseymagdump:

Jump in the discussion.

No email address required.

>snake case

>person->turnGay

https://media.giphy.com/media/ZG719ozZxGuThHBckn/giphy.webp

Jump in the discussion.

No email address required.

Look further down r-slur :marseyfacepalm:

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:

I’m a weirdo who likes PascalCase. Come at me. :marseypunching:

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, and SCREAMING_SNAKE_CASE for constants and macros

Jump in the discussion.

No email address required.

I’m a little stinker about following GCP. :marseyjam:

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 :marseygunshotsuicide:), and the other half is professional education and retraining my coding habits. I’m pretty stubborn in my habits :marseysmugautist:

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:

Jump in the discussion.

No email address required.

More comments

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

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:

Jump in the discussion.

No email address required.

You look smarter when you use switch statements (even when they're totally unnecessary).

int main() {
 for (auto person: humans) {
   switch (person.gender) {
     case 0: /*Male*/
       person->turnGay();
       person->giveUterus();
       break;
     default: /*Woman*/
       person->kill(DEATH_MISTERIOUS_DISAPPEARANCE);
       break;
   }
 }
 return 0;
}
Jump in the discussion.

No email address required.

>totally unnecessary

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.

my code would also look smarter hadn't i fricked up pointer -> and object . properties

Jump in the discussion.

No email address required.

ummm, sweaty, The Science says that there are 84 genders. Your code sucks.


Krayon sexually assaulted his sister. https://i.rdrama.net/images/17118241526738973.webp https://i.rdrama.net/images/17118241426254768.webp https://i.rdrama.net/images/17156480765435808.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/17118241526738973.webp https://i.rdrama.net/images/17118241426254768.webp https://i.rdrama.net/images/17156480765435808.webp

Jump in the discussion.

No email address required.

Remove lines 7 and 9

Jump in the discussion.

No email address required.

misterious

Jump in the discussion.

No email address required.

:#marseyfugg:

Jump in the discussion.

No email address required.

Link copied to clipboard
Action successful!
Error, please refresh the page and try again.