294
you are viewing a single comment's thread
view the rest of the comments
[-] Jakylla@jlai.lu 112 points 1 week ago

Already exists, that's called Javascript

[-] Witchfire@lemmy.world 28 points 1 week ago

Unlike traditional types such as string, number, or even JavaScript's dangerously permissive any, an ambiguous variable can contain any value, several values, or no value at all, depending on execution context, compiler mood, and whether anyone is currently debugging it.

It's different than loosely typed vars, which are not at all exclusive to Javascript

[-] bitfucker@programming.dev 8 points 1 week ago* (last edited 1 week ago)

"any value, several, or no value". Any in JS is literally that tho, sans "Never" iirc

Edit: oops, I was wrong. Any MAY be a never. Typescript allows it

this post was submitted on 07 Nov 2026
294 points (98.7% liked)

Programmer Humor

34135 readers
1937 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 3 years ago
MODERATORS