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.

!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.

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