this post was submitted on 22 Oct 2023
611 points (95.4% liked)

Programmer Humor

32455 readers
885 users here now

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

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] dinckelman@lemmy.world 2 points 1 year ago (1 children)

2, but I'm incredibly embarrassed to say that I've had to do 9 before

[–] tigerhawkvok@startrek.website 10 points 1 year ago (1 children)

9 is objectively better if you have untrusted inputs and need a stable failure mode.

[–] dinckelman@lemmy.world 2 points 1 year ago

That was precisely the reason. I prefer strongly typed languages languages, so it just felt gross to write that