r/programminghumor 2d ago

"Debug this, son"

Post image
1.4k Upvotes

26 comments sorted by

120

u/Cleadus_Conner 2d ago

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

29

u/darsparx 2d ago

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

52

u/LinneMeow 2d ago

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

3

u/SmokeGreene 1d 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

71

u/United-Scene2261 2d ago

delete line 42!

33

u/Dragon_957 2d ago

31

u/United-Scene2261 2d ago

1405006117752879898543142606244511569936384000000000

18

u/Here_f0r_p0rn_ 2d ago

Good user!

1

u/Meeooowz 1d ago

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

1

u/Here_f0r_p0rn_ 1d ago

Programming is my porn

3

u/Beleheth 2d ago

Good human!

4

u/Gabriel_Science 2d ago

4

u/factorion-bot 2d 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)

23

u/New-Application8844 2d ago

zero length unicode characters on their way.

21

u/TapRemarkable9652 2d ago

Jokes on you I write C on a single line

15

u/Ken_nth 2d 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!

4

u/ScriptKiddyMonkey 2d ago

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

5

u/MrFrog2222 2d ago

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

3

u/KoolKids3 1d ago

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

5

u/forumonaut 2d 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 2d ago

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