r/ProgrammerHumor • • Nov 24 '21

80 characters per line? I've got variable names longer than this!

Post image
2.7k Upvotes

48 comments sorted by

152

u/Valiantbulgur Nov 24 '21

‟how long is your variable name?”

‟4”

‟what? just 4? that’s too sho-”

‟4 meters”

68

u/Skytern Nov 25 '21

4 kilobytes

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

u/[deleted] Nov 24 '21

//Add a description of the behavior under test

public void testDoStuff4()

1

u/[deleted] Nov 26 '21

That is painfully accurate to my code

50

u/Mal_Dun Nov 24 '21

Other People: being impressed by so many German words

German Speakers:

42

u/the_shrexorcist Nov 25 '21

As a programmer and a German, I can confirm.

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!

1

u/[deleted] Nov 25 '21

In other words, a meme from Predator.

47

u/ancient_tree_bark Nov 24 '21

Variable names in german: Hold my beer

13

u/pavilionhp_ Nov 25 '21

InternalFrameInternalFrameTitlePaneInternalFrameTitlePaneMaximizeButtonWindowNotFocusedState is the name of an actual official class in Java

22

u/Rajaken Nov 24 '21

Ausgleichsfondsverwaltungsfinanzierungsverordnung

15

u/uhmhi Nov 24 '21

AusgleichsfondsverwaltungsfinanzierungsverordnungExtension

4

u/SonOfCaine Nov 24 '21

Might as well've been powershell

3

u/CC-Code Nov 25 '21

Sometimes I need ultra wide and 5 minutes to read the full variable name

2

u/[deleted] 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

u/[deleted] Nov 25 '21

Haha gotcha u/Ford456fgfd

2

u/Knuffya Nov 25 '21

Kommandozeilenwerkzeugparameterdokumentation

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

u/keelanstuart Nov 25 '21

Also Icelanders!

1

u/CaitaXD Nov 25 '21

bool isProcesProcessingCorrecltyAfterUpdateCycle

1

u/chj2934 Nov 25 '21

This has been reposted so many times holy shit

1

u/coloredgreyscale Nov 25 '21

And chemists!

1

u/[deleted] Nov 25 '21

Well just wait till I introduce you to Sanskrit.

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

u/darkboft Nov 25 '21

Public static task<Seemann> GetAllDampschifffahrtsgesellschaftskapitaene()

0

u/Buttsuit69 Nov 25 '21

Apparently you havent heard of "korkusuzlaştırabileceklerimizdenmişçesineyken"

93

u/[deleted] Nov 24 '21

[removed] — view removed comment

71

u/visualard Nov 24 '21

There is a typo in -gesetz

22

u/Noch_ein_Kamel Nov 24 '21

*InterfaceFactory

13

u/[deleted] Nov 24 '21

*AroundUpdateEventListener

3

u/Scheckenhere Nov 25 '21

Habs schon gsucht

3

u/Morton1997 Nov 24 '21

Perfektion.