You are viewing a single thread.
View all comments
2 points

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

permalink
report
reply
10 points

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

permalink
report
parent
reply
2 points

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

permalink
report
parent
reply

Programmer Humor

!programmerhumor@lemmy.ml

Create post

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.

Community stats

  • 3.6K

    Monthly active users

  • 1.5K

    Posts

  • 35K

    Comments