this post was submitted on 07 Jan 2024
896 points (94.4% liked)

Programmer Humor

19809 readers
275 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 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] hemmes 8 points 11 months ago (2 children)

Even in untyped can't you explicitly set your type either with declarations or wrapping the value in quotes for a string or something?

[–] [email protected] 27 points 11 months ago

Depends on the language. There is no explicit typing in JavaScript, for example. That's why Typescript was invented.

[–] [email protected] 5 points 11 months ago (1 children)
[–] hemmes 5 points 11 months ago

Ah, that could be problematic