this post was submitted on 23 Jun 2024
734 points (96.5% liked)

Programmer Humor

19282 readers
653 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] morgunkorn@discuss.tchncs.de 138 points 3 months ago (12 children)

On the other hand, I don't think you should add those ever

[–] firelizzard@programming.dev 52 points 3 months ago (7 children)

Sure. But in a sane language doing something totally nonsensical like that is an error, and in a statically typed language it’s a compiler error. It doesn’t just silently do weird shit.

[–] leftzero@lemmynsfw.com 4 points 3 months ago* (last edited 3 months ago) (1 children)

a sane language

JavaScript

Pick one.

[–] firelizzard@programming.dev 1 points 3 months ago* (last edited 3 months ago)

I thought it was clear I was saying JavaScript is not a sane language for this very reason

load more comments (5 replies)
load more comments (9 replies)