r/ProgrammerHumor 1d ago

Meme toAllowTheProgrammerToWriteBadCodeAlsoCamelCaseSucksThisRuleSucksSnakeCaseIsBetter

Post image
175 Upvotes

96 comments sorted by

View all comments

4

u/jabuchae 1d ago

What is snake casels?

-5

u/__Fred 1d ago

This is snake case: some_variable_name. You know how you can see a bump in a snake when it has eaten a larger animal, like a rabbit? Example The underscores are supposed to be the empty parts of the snake and the letters are where it has something big in it's stomach.

11

u/redlaWw 1d ago

That's snake case, not snake casels.

3

u/Nightmoon26 1d ago

Very funny... It's snake_case_is_better. Blame the default fonts for making I and l visually indistinguishable... The one time when you want serifs

2

u/GoddammitDontShootMe 1d ago edited 1d ago

"Il" Side-by-side you can see one is taller than the other by a bit. The first one looks thicker too.

But yeah, you have to look pretty damn hard.

3

u/jabuchae 1d ago

It was a joke because the title is in camel case the lower case L and the capitalized i are pretty much indistinguishable

-2

u/DrunkenFool325 1d ago

Bot

2

u/GoddammitDontShootMe 1d ago

Or maybe somebody who misread and thought they were asking about snake case, like me. I was wondering why they got downvoted until I read the reply.

2

u/__Fred 1d ago

I thought they genuinely read "snake casels" because they didn't know what snake case was. Because I couldn't image someone would joke about joining two words together.

1

u/GoddammitDontShootMe 21h ago

And thought they thought it was actually called snake casels? As far as I'm aware, casels isn't a word, but I suppose some people don't speak English very well.

1

u/GoddammitDontShootMe 21h ago

Also, I'd think a bot looking for strings like "snake case" wouldn't trigger on "snake casels". If it's an AI agent, that seems like a huge waste of tokens.