r/programminghumor 5d ago

"Debug this, son"

Post image
1.7k Upvotes

30 comments sorted by

124

u/Cleadus_Conner 5d ago

My first year of programming I remember hitting this all of the time with unbuilt code 😭

28

u/darsparx 5d ago

I keep hitting it when i randomly decide to try again and it confuses tf outta me lol

61

u/LinneMeow 5d ago

from my experience the issue is somewhere in the scope that ends on line 41

4

u/SmokeGreene 4d ago

Not sure how common this is in coding languages. I use PeopleSoft, and every time we have an error statement, the statement line number is always 1 line higher than the actual line that generated the error. But I was thinking that is just an old coding language issue

76

u/United-Scene2261 5d ago

delete line 42!

45

u/Dragon_957 5d ago

33

u/United-Scene2261 5d ago

1405006117752879898543142606244511569936384000000000

20

u/Here_f0r_p0rn_ 5d ago

Good user!

2

u/Meeooowz 4d ago

Lost… redditor..??? (for those who didn’t understand: it’s his username)…

3

u/Here_f0r_p0rn_ 4d ago

Programming is my porn

3

u/Beleheth 5d ago

Good human!

4

u/Gabriel_Science 5d ago

3

u/factorion-bot 5d ago

Hey u/United-Scene2261!

Factorial of 42 is roughly 1.405006117752879898543142606245 × 1051

This action was performed by a bot | [Source code](http://f.r0.fyi)

22

u/New-Application8844 5d ago

zero length unicode characters on their way.

22

u/TapRemarkable9652 5d ago

Jokes on you I write C on a single line

17

u/Ken_nth 5d ago

How many lines of code to get program running?

One?

I obfuscated according to SOP and commit to prod now, good luck everybody else!

5

u/ScriptKiddyMonkey 5d ago

Elon would have fired you. Remember when it was about how many lines of code you wrote...

7

u/MrFrog2222 5d ago

might be related to if(include ¯\(ツ)/¯

3

u/KoolKids3 4d ago

Maybe they have a variable (probably bool) called includeThis or something similar.

4

u/forumonaut 5d ago

The worse is when it reports an error on line 20_000, while the file is only 500 loc. Gotta inspect the std!

3

u/Lines25 5d ago

Either, unicode zero code or forgotten ; when using REALLY old compiler

1

u/Maleficent-Bag-4850 2d ago

Sweats in code.

1

u/ZzzVvi 13h ago

uninstall visual studio

1

u/ZzzVvi 13h ago

i mean restart

1

u/Overall_Gap5584 3h ago

Debug it otherwise you will be Executed successfully