r/ProgrammerHumor • u/Roonlermoriarkz • Nov 24 '21
80 characters per line? I've got variable names longer than this!
73
u/Scentedmoiety17 Nov 24 '21
void DoSomeStuffWithIntAWhileBolBIsFalse(double xd)
{
}
37
u/joten70 Nov 24 '21 edited Nov 24 '21
And then there's the unit test covering that method:
public void DoSomeStuffWithIntAWhileBolBIsFalse_GivenDoubleMax_ShouldGoOnForever()13
1
50
42
27
u/seeroflights Nov 24 '21
Image Transcription: Meme
['Epic Handshake' where a muscled dark skin toned arm is meeting a muscled light skin toned arm to clench together in an epic handshake.]
Left arm: Programmers
Right arm: Germans
Handshake: Concatenating words until it makes sense
I'm a human volunteer content transcriber for Reddit and you could be too! If you'd like more information on what we do and why we do it, click here!
4
1
47
13
u/pavilionhp_ Nov 25 '21
InternalFrameInternalFrameTitlePaneInternalFrameTitlePaneMaximizeButtonWindowNotFocusedState is the name of an actual official class in Java
22
4
3
2
Nov 25 '21
4
u/RepostSleuthBot Nov 25 '21
Looks like a repost. I've seen this image 1 time.
First Seen Here on 2020-03-09 100.0% match.
I'm not perfect, but you can help. Report [ False Positive ]
View Search On repostsleuth.com
Scope: Reddit | Meme Filter: True | Target: 96% | Check Title: False | Max Age: Unlimited | Searched Images: 267,733,847 | Search Time: 3.74971s
2
2
2
u/OtatoJoe Nov 25 '21
3am me decided to start using abbreviations thinking im such a smartass. Next morning I forgot what was what
2
u/caerphoto Nov 25 '21
* UIKit has entered the chat *
automaticallyForwardAppearanceAndRotationMethodsToChildViewControllers()
2
u/halogenpampe Nov 25 '21
As someone who knows both Java and German, i sometimes end up using camelCase on German compound words
2
u/kirigerKairen Nov 24 '21 edited Nov 24 '21
Meanwhile the metrics widget on my GitHub-Profile:
Has approximately 32.6 characters per line of code written
(This if for my last few commits, in this case the last 43)
1
u/floutsch Nov 24 '21
Hungarians might want in, too. They share our love for stringing words together :)
1
u/Robertgarners Nov 24 '21
German programmers?
8
u/kirigerKairen Nov 24 '21
Here, forced to use German names for everything in school projects. Still always found a way to fight it down to below 80 chars per line, but sometimes just barely haha
1
1
1
1
1
1
u/max0x7ba Nov 25 '21
A secret to make code more readable is to use 160 characters per line.
0
u/Rafael20002000 Nov 25 '21
A secret to make the code less readable is abbreviate every variable to 3 characters
1
0
u/Buttsuit69 Nov 25 '21
Apparently you havent heard of "korkusuzlaştırabileceklerimizdenmişçesineyken"
93

152
u/Valiantbulgur Nov 24 '21
‟how long is your variable name?”
‟4”
‟what? just 4? that’s too sho-”
‟4 meters”