this post was submitted on 22 Oct 2023
613 points (95.7% liked)

Programmer Humor

32155 readers
133 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 11 months ago (2 children)

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

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

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

[–] dinckelman@lemmy.world 2 points 11 months ago

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