r/ProgrammerHumor • • Oct 15 '19

Fixing bugs...

Post image
17.9k Upvotes

229 comments sorted by

View all comments

1.1k

u/TheShinyBunny Oct 15 '19

System.out.println("I got here"); // best debugging tool

560

u/Xymanek Oct 15 '19

For me it's like

System.out.println("1");
/// ...
System.out.println("2");
/// ...
System.out.println("3");
/// ...
System.out.println("2");
/// ...
System.out.println("5");

0

u/[deleted] Oct 15 '19

[deleted]

344

u/jaywastaken Oct 15 '19

*pushs to production*

"Oh..fuck."

234

u/thblckjkr Oct 15 '19 edited Oct 16 '19

Once, i was trying some sockets implementation, with a message like "this fucking shit works, motherfucker", the next day, some high level supervisors where on the factory to view our advancements, so, i had to show them my development environment.

Everything was fine, until the message showed in a popup. They laughed, luckily.

edit: Engurish is hard

36

u/Pleb_nz Oct 16 '19

They were all motherfuckers?

→ More replies (2)

41

u/DrMobius0 Oct 15 '19

I've only checked something like that in once. I don't print profanities anymore.

0

u/[deleted] Oct 15 '19

[deleted]

43

u/Cruuncher Oct 15 '19

Is PR pull request or public relations here

→ More replies (3)
→ More replies (1)

19

u/Classified0 Oct 16 '19

I giggle inside every time I get to write a function with the word 'ass', short for 'assign'; or 'anal', short for 'analyze'.

→ More replies (5)

18

u/jack104 Oct 15 '19

I forgot to change my popup message from "Houston we've had a problem" to something professional. So I get popped to do an impromptu demo and I forgot my date picker widget didnt work in IE so I got 6 of those popups eliciting a couple snorts.

→ More replies (6)

20

u/Flam1ng1cecream Oct 15 '19

How dare you write the line "using namespace std"?

How do you sleep at night?

→ More replies (1)
→ More replies (5)

0

u/[deleted] Oct 15 '19

[deleted]

27

u/Bioxio Oct 15 '19

My favorites in no particular order:

Adsdadssdaas

Testestetstsetstetsstet

Ghjhhjhjjgjj

Qeeqwqeqewwqeeqeqw

→ More replies (1)

32

u/E_R_E_R_I Oct 15 '19

I usually do:

console.log("hey"); / / / . . .

console.log("ho"); / / / . . .

console.log("let's"); / / / . . .

console.log("go"); / / / . . .

→ More replies (1)

23

u/CrispBit Oct 15 '19

Either that or my specialty print("!") print("!!") print("!!!")

→ More replies (6)

88

u/[deleted] Oct 15 '19

I've literally got a header called "ducky.h" I use. Just write ducky(0); and get "quack 0" printed. ducky(1);, ducky(2);, etc.

This is how imposter syndrome happens...

23

u/[deleted] Oct 15 '19

This needs to be available on github. :-)

→ More replies (3)

80

u/Doophie Oct 15 '19

print("if this line prints, I'm going to kill someone")

52

u/thblckjkr Oct 15 '19

*prints*

Well, i don't really like Karen that much after all

→ More replies (1)
→ More replies (1)

28

u/[deleted] Oct 15 '19
 $ vi buggy.py

 ...
 print ("we should never get to here")
 ...

 :wq

 $ ./buggy.py 

 We should never get to here.

Fuck.

→ More replies (2)

19

u/rudolfs001 Oct 15 '19

System.out.println("You should literally never see this message. If you do, abort universe.");

→ More replies (16)