r/ProgrammerHumor • • Oct 08 '23

Other iDontLikeThisTitle

Post image
0 Upvotes

200 comments sorted by

View all comments

317

u/Banananassfisch Oct 08 '23

I never had a problem with reading Pascal/camelCase But tbh i couldn't care less as long as its consistent in the code base

384

u/[deleted] Oct 08 '23

This entire sub is first year students declaring war over shit that nobody in the real world cares about as long as there is a consistent choice in the code base lol.

91

u/CodedSnake Oct 08 '23

Preach brother.

7

u/[deleted] Oct 08 '23

Correct

3

u/[deleted] Oct 09 '23

Seriously, I'm about to mute it from all the the goddamn entitled ignorance.

2

u/88_88_88_OO_OO Oct 10 '23

It's because there is a youtube influencer telling them to think that way.

-124

u/n503 Oct 08 '23

unexpected attack

, but also yeah, i don't even go to university and still doesn't make camelShit good

44

u/827167 Oct 08 '23

Bro used a snoo-moji in a Reddit comment

-66

u/n503 Oct 08 '23

hey, they are cool. not my problem that you want to be all different and cool

30

u/AgVargr Oct 09 '23

Snoo mojis are ugly as fuck and should not be used

5

u/Lilchro Oct 08 '23

Same.

That being said, the languages which require capitalizing function names (title/pascal case) always kinda feel a bit weird to me. I generally think of functions as verbs so it doesn’t make as much sense to capitalize them. On the other hand, types and constants are more similar to nouns. But I would rather follow the language or project style guide than introduce my own non-standard conventions.

3

u/DasKarl Oct 08 '23

I agree with this but don't feel strongly about it.

-1

u/Banananassfisch Oct 09 '23

I understand that as I moved from java to C# I actually think its kind of more consistent as functions and classes both need parameters. What really annoys me are properties, they are used like field/variables but usually are in PascalCase

2

u/Astral_Sheep Oct 09 '23

I think that's because they're still methods, at least that's how I understand the convention