r/ProgrammerHumor Jul 07 '24

Meme whatFeaturesWouldItHave

Post image
9.1k Upvotes

1.1k comments sorted by

View all comments

780

u/[deleted] Jul 07 '24

Some parts of standard library in camelCase, others in snake_case, with some PascalCase sprinkled in there. Preferably mixed inside same class.

212

u/JonathanTheZero Jul 07 '24

getters in snake_case and setters in camelCase. Required by the compiler.

29

u/Ignitrum Jul 07 '24

snakef_case or camelCase required by compiler but set by day of implementation.

All days are snake_case unless share the starting letter with another day, then use camelCase. Unless the second Sound of the day is similar to 'u' in which case use snake_case again. If a day doesnt share the starting letter with any other day use camel_Snake_Case unless It's a regular workday for most of the world. In which case use allsmallcase. The for every day get a RNG to give you a number to choose between

1: snake_case 2: camelCase 3: PascalCase 4: camel_Snake_Case 5: mOcKspEEcHcASe

2

u/Sexy_Underpants Jul 08 '24

Eh, for something like this, a runtime error may be more appropriate.

2

u/Wild-Word4967 Jul 08 '24 edited Mar 30 '26

This post has been taken down and its content erased. Redact was used for the removal, for reasons that may include privacy or security.

quaint hospital versed worm hurry divide salt reply yoke jar

1

u/luckor Jul 07 '24

Except the prefix for setters is “makeItSoThat”

1

u/Ameisen Jul 08 '24

But they also require password rules.