MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/zjzug0/again_with_long_descriptive_names/
r/badcode • u/freerider • Dec 12 '22
33 comments sorted by
37
Good lord, don't you have antialiased fonts?
14 u/the-nick-of-time Dec 12 '22 Vector fonts truly are the only way. On top of that, this font has dogshit kerning; look at the wC in "allowChange" at the top and the it in "With" near the right edge. 3 u/freerider Dec 13 '22 It's a fixed size font... it should not have kerning. 8 u/PooSham Dec 12 '22 It's truly disgusting, it's so hard to read. 15 u/freerider Dec 12 '22 Nope, i hate those! 4 u/Taksin77 Dec 12 '22 Thank you for perpetuating that well deserved hate.
14
Vector fonts truly are the only way. On top of that, this font has dogshit kerning; look at the wC in "allowChange" at the top and the it in "With" near the right edge.
3 u/freerider Dec 13 '22 It's a fixed size font... it should not have kerning. 8 u/PooSham Dec 12 '22 It's truly disgusting, it's so hard to read.
3
It's a fixed size font... it should not have kerning.
8
It's truly disgusting, it's so hard to read.
15
Nope, i hate those!
4 u/Taksin77 Dec 12 '22 Thank you for perpetuating that well deserved hate.
4
Thank you for perpetuating that well deserved hate.
10
Tell me you're a Java programmer writing in a different language without telling me you're a Java programmer...
;)
2 u/freerider Dec 12 '22 Actually is C++ 11 u/[deleted] Dec 12 '22 ...written by a Java programmer. In other words, a Java programmer writing in a different language. 2 u/freerider Dec 13 '22 Nope, still C++ programmers -6 u/LuvOrDie Dec 12 '22 I'm actually p sure this is Objective-C lol
2
Actually is C++
11 u/[deleted] Dec 12 '22 ...written by a Java programmer. In other words, a Java programmer writing in a different language. 2 u/freerider Dec 13 '22 Nope, still C++ programmers
11
...written by a Java programmer. In other words, a Java programmer writing in a different language.
2 u/freerider Dec 13 '22 Nope, still C++ programmers
Nope, still C++ programmers
-6
I'm actually p sure this is Objective-C lol
116
If only there was some way to write comments that a compiler could ignore!
53 u/droomph Dec 12 '22 I’ve heard some teams ban comments which just seems nuts (even if you can misuse them, but like…that’s what review is for) 51 u/[deleted] Dec 12 '22 Wow, banned comments sound like a bad ideaI would much rather have “fuck the boss” in a comment than FuckTheBoss fuckTheBoss and fuck_the_boss in the code! 18 u/[deleted] Dec 12 '22 If I heard that, I would walk right out the fucking door. I don't have time for developer teams that can't collectively rub two brain cells together. 2 u/Dr4kin codes in comic sans Dec 13 '22 Don't be to harsh on the the teams that share one with each other
53
I’ve heard some teams ban comments which just seems nuts (even if you can misuse them, but like…that’s what review is for)
51 u/[deleted] Dec 12 '22 Wow, banned comments sound like a bad ideaI would much rather have “fuck the boss” in a comment than FuckTheBoss fuckTheBoss and fuck_the_boss in the code! 18 u/[deleted] Dec 12 '22 If I heard that, I would walk right out the fucking door. I don't have time for developer teams that can't collectively rub two brain cells together. 2 u/Dr4kin codes in comic sans Dec 13 '22 Don't be to harsh on the the teams that share one with each other
51
Wow, banned comments sound like a bad idea
I would much rather have “fuck the boss” in a comment than FuckTheBoss fuckTheBoss and fuck_the_boss in the code!
18
If I heard that, I would walk right out the fucking door. I don't have time for developer teams that can't collectively rub two brain cells together.
2 u/Dr4kin codes in comic sans Dec 13 '22 Don't be to harsh on the the teams that share one with each other
Don't be to harsh on the the teams that share one with each other
26
Imagine negating that variable.
ive written some horrible code (you might have seen one i did), but this... is a whole another level
2 u/freerider Dec 13 '22 Yes, this is my code when I chased a specific bug that this variable corrects. I spent about 2 days on it so I was pretty pissed off. 1 u/DecentPattern8884 Dec 13 '22 ah
Yes, this is my code when I chased a specific bug that this variable corrects. I spent about 2 days on it so I was pretty pissed off.
1 u/DecentPattern8884 Dec 13 '22 ah
1
ah
create a wrapper for this and make it even worse
19
Image Transcription: Code
enum TranscriptionSpecial { DoNotChangeDictationTypeInInitialisation, AllowChange }; enum TranscriptionSpecial m_TranscriptionSpecial; BOOL m_HasRecordBeenStarted_becauseIAudioPlayerIsStupidAndReturns1InGetPlaybackLengthWithNoSound; CString m_UserRegistrySectionForInputdevice;
I'm a human volunteer content transcriber and you could be too! If you'd like more information on what we do and why we do it, click here!
18 u/[deleted] Dec 12 '22 Good and patient human. 3 u/tipripper65 Dec 12 '22 and it even compiles 🤩
Good and patient human.
and it even compiles 🤩
7
what_seemsToBe_theProblem-seemsPerfectlyLegibleToMe_questionMark
9
Names of variables are supposed to descriptive.
Good job there 👍
-6 u/engelthehyp Dec 12 '22 Are you joking? Obviously they shouldn't be that descriptive.
Are you joking? Obviously they shouldn't be that descriptive.
6
/r/oddlyspecific
java programmer trying to write c code
Looks like something an Apple CoreKit component or interface would do shamelessly
Are long names rly that bad? You don't have to write the whole thing manually when you want to use it anyway.
37
u/PooSham Dec 12 '22
Good lord, don't you have antialiased fonts?
10
u/cyclewanderist Dec 12 '22
Tell me you're a Java programmer writing in a different language without telling me you're a Java programmer...
;)
116
u/[deleted] Dec 12 '22
If only there was some way to write comments that a compiler could ignore!
26
u/[deleted] Dec 12 '22
Imagine negating that variable.
3
u/DecentPattern8884 Dec 12 '22
ive written some horrible code (you might have seen one i did), but this... is a whole another level
11
u/thepurpleproject Dec 12 '22
create a wrapper for this and make it even worse
19
u/MurdoMaclachlan public boolean isInt(int i) { return true; } Dec 12 '22
Image Transcription: Code
I'm a human volunteer content transcriber and you could be too! If you'd like more information on what we do and why we do it, click here!
7
u/Pandorda85 Dec 13 '22
what_seemsToBe_theProblem-seemsPerfectlyLegibleToMe_questionMark
9
u/[deleted] Dec 12 '22
Names of variables are supposed to descriptive.
Good job there 👍
6
u/EatRunCodeSleep Dec 12 '22
/r/oddlyspecific
2
u/beaubeautastic Dec 12 '22
java programmer trying to write c code
1
u/silver-sicary Dec 13 '22
Looks like something an Apple CoreKit component or interface would do shamelessly
1
u/flku9 Dec 13 '22
Are long names rly that bad? You don't have to write the whole thing manually when you want to use it anyway.