this post was submitted on 28 Feb 2024
913 points (96.9% liked)

Programmer Humor

32410 readers
1 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
(page 2) 50 comments
sorted by: hot top controversial new old
[–] Asudox@lemmy.world 9 points 1 year ago (7 children)
[–] caseyweederman@lemmy.ca 8 points 1 year ago

Rust: this garbage code is beneath me, come back when you have your shit together.

[–] Turun@feddit.de 2 points 1 year ago

Compilation: top row, runtime: button row.

load more comments (5 replies)
[–] PanArab@lemmy.ml 4 points 1 year ago* (last edited 1 year ago)

At least you are getting a dump, count your blessings. Could be worse!

Just hook your app to a debugger and load the dump.

[–] Omega_Haxors@lemmy.ml 4 points 1 year ago* (last edited 1 year ago) (1 children)

C#: Time for a treasure hunt! Find the Null Reference Exception. Here's a map. X marks the spot.

[–] kogasa@programming.dev 6 points 1 year ago (1 children)

C# tells you the call site/method name and line number right at the top. It's only really annoying when you have aggregate exceptions, which sometimes occur because someone async'd wrong

[–] Omega_Haxors@lemmy.ml 2 points 1 year ago

Actually getting there is the other part. It's not like java where you can go down the chain if the problem isn't where it says it is.

[–] Zuberi@lemmy.dbzer0.com 4 points 1 year ago

The ole' single C++ error turning into 600 lines of issues

[–] reverendsteveii@lemm.ee 3 points 1 year ago

puts me in mind of the old guru meditation error messages that popped up in the stone knives and bearskins era of computing.

[–] Buttons@programming.dev 2 points 1 year ago (1 children)

Why doesn't JavaScript have tracebacks?

[–] bartvbl@lemmy.world 5 points 1 year ago

How useful would they be when they rely to such a large extent on various callback functions?

load more comments
view more: ‹ prev next ›