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

Programmer Humor

19622 readers
1107 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
[–] hemmes@lemmy.world 8 points 10 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?

[–] projectmoon@lemm.ee 29 points 10 months ago

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

[–] EinfachUnersetzlich@lemm.ee 5 points 10 months ago (1 children)
[–] hemmes@lemmy.world 5 points 10 months ago

Ah, that could be problematic