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

Programmer Humor

20190 readers
1320 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
[–] cucumber_sandwich@lemmy.world 35 points 1 year ago (3 children)

Programming term. Variables in programming languages can hold different types of data, such as whole numbers, floating point numbers or strings of characters ("text"). Untyped languages figure out on the fly what can and cannot be done to the content of a variable, while typed languages strictly keep track of the type of content (not the value) to catch bugs and improve performance, for example.

Ah! Thank you for the explanation. That makes much more sense now.

[–] Witchfire@lemmy.world 5 points 1 year ago

Very concise explanation!

[–] monkeyman512@lemmy.world 1 points 1 year ago (1 children)

Any untyped languages that don't care what is in the variable, assumes you know what your doing, and YOLOs it?

[–] cucumber_sandwich@lemmy.world 4 points 1 year ago

Np necessarily. Usually errors are detected at runtime and reported as such. So you will see where your program failed, but it usually crashes nonetjeless. Keep in mind that crashes are usually better than continuing some undefined behavior.