150
submitted 5 months ago by tfm@europe.pub to c/programmerhumor@lemmy.ml

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
[-] WildPalmTree@lemmy.world 2 points 5 months ago

Because this is a simplified example? Maybe you create the object in one place (saying something more realistic like "2015" or whatever your inexperience or AI told you to) and use getTime() at a later place where you thought you created it in a correct way.

[-] Ephera@lemmy.ml 0 points 5 months ago

(saying something more realistic like “2015” or whatever your inexperience or AI told you to)

User input is probably the big one where this API is gonna get stress-tested...

this post was submitted on 12 Jul 2025
150 points (99.3% liked)

Programmer Humor

39598 readers
376 users here now

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

Rules:

founded 6 years ago
MODERATORS