this post was submitted on 12 Jul 2025
145 points (98.7% liked)

Programmer Humor

37208 readers
820 users here now

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

Rules:

founded 5 years ago
MODERATORS
 

cross-posted from: https://programming.dev/post/33754840

new Date("wtf")

you are viewing a single comment's thread
view the rest of the comments
[–] blaue_Fledermaus@mstdn.io 14 points 3 days ago (1 children)

Parsing user input? Nonsense data coming from an API?

[–] pixely@lemmy.world 1 points 3 days ago* (last edited 3 days ago) (1 children)

If you’re expecting shit data then you’d have unit tests for those cases so you’d know what to expect.

[–] WildPalmTree@lemmy.world 4 points 3 days ago

Maybe you don't expect shit data; you just get it. I know, always expect it....