this post was submitted on 14 Aug 2023
1428 points (98.0% liked)

Programmer Humor

24932 readers
1847 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
 
you are viewing a single comment's thread
view the rest of the comments
[–] zorro@lemmy.world 53 points 2 years ago (8 children)

Because that's sane and readable?

[–] fkn@lemmy.world 33 points 2 years ago (3 children)

Wow. I'm honestly surprised I'm getting downvotes for a joke. Also, no. It isn't. It really isn't.

[–] gornius@lemmy.world 2 points 2 years ago (2 children)

It is better than in most languages with exceptions, except from languages like Java, that require you to declare that certain method throws certain error.

It's more tedious in Go, but at the end of the day it's the same thing.

When I use someone else's code I want to be sure if that thing can throw an error so I can decide what to do with it.

[–] GlitchSir@lemmy.world 1 points 2 years ago

You know it’s social media when the one that’s right is downvoted

load more comments (1 replies)
load more comments (1 replies)
load more comments (5 replies)