this post was submitted on 07 Jan 2024
907 points (94.3% liked)

Programmer Humor

19623 readers
4 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