this post was submitted on 02 Dec 2024
598 points (99.7% liked)

Programmer Humor

19817 readers
146 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
top 18 comments
sorted by: hot top controversial new old
[–] [email protected] 66 points 2 weeks ago (4 children)

C++ compiler errors still won't fit on either screen.

[–] [email protected] 7 points 2 weeks ago

Nah, g++ is actually pretty sane imho.

[–] [email protected] 6 points 2 weeks ago

Ah, a fellow template enjoyer!

[–] [email protected] 5 points 2 weeks ago* (last edited 2 weeks ago)

My worst one was over 70kB. I still shudder.

The MSVC one was just 200 bytes and just told me error with no further information.

[–] [email protected] 3 points 2 weeks ago

Especially the template errors

[–] [email protected] 14 points 2 weeks ago (2 children)

I'm thinking keep the horizontal one at the bottom and put 3 vertical ones over it, now the vertical one is all the way over there.

[–] [email protected] 3 points 2 weeks ago

maybe this way you’ll be able to read up to 3 java statements at a time

[–] [email protected] 3 points 2 weeks ago

Hello, one neck pain please.

[–] [email protected] 10 points 2 weeks ago (1 children)

I love all the Java haters. Like is a stack trace from any other language somehow more readable? Python stack traces are fucking backwards, and also annoying as fuck since you don’t have any type info. C++ you have to enable core dumps and then run a separate tool. Okay fully qualified class names in Java are long, but that’s because you have proper packaging and namespaces which plenty of other languages manage to do much worse at.

[–] [email protected] 3 points 2 weeks ago* (last edited 2 weeks ago)

C++ you have to enable core dumps and then run a separate tool.

It's really not that bad when using something like Clion in debug mode. It clearly shows each function it went through and clicking instantly takes you to the relevant function.

But you're right. Java stacktraces really aren't that bad, throw some syntax highlighting and links in and it's actually a really decent option. I sure know what I would prefer when comparing it to JavaScript.

[–] [email protected] 4 points 2 weeks ago

I'd be permanently paranoid about the weight of the vertical screen at such an angle...

[–] [email protected] 3 points 2 weeks ago

I’ll take “completely pointless waste of energy” for 300, Alex

[–] [email protected] 3 points 2 weeks ago

Vertical one is not wide enough, stack traces contain class names

[–] [email protected] 2 points 2 weeks ago

That desk needs a 50 kg counterweight on the right.

[–] [email protected] 2 points 2 weeks ago

I love to rock the sideways T workstation, but usually have a couple terminal and browser windows side by side on the landscape monitor.

[–] [email protected] 2 points 2 weeks ago

This has the beginnings of one sick-ass hotwheels track

[–] [email protected] 1 points 2 weeks ago

my email inbox wouldnt fit in either if you only left spam...if you left everything thst isnt spam itd fit in an a5 paper tho

[–] [email protected] 1 points 2 weeks ago

Someone forgot to caption the mirror with "failure"