909
submitted 6 months ago by sjmarf to c/[email protected]
you are viewing a single comment's thread
view the rest of the comments
[-] [email protected] 329 points 6 months ago

Yes the compiler/interpreter can figure it out on the fly, that's what we mean by untyped languages. And as stated both have their merits and their faults.

Elon doesn't know what the words mean and just chimes in with his AI future BS.

[-] [email protected] 8 points 6 months ago

Untyped as in written? Or is this programming term I'm not familiar with?

[-] [email protected] 35 points 6 months ago

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.

[-] [email protected] 9 points 6 months ago

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

[-] [email protected] 5 points 6 months ago

Very concise explanation!

[-] [email protected] 1 points 6 months ago

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

[-] [email protected] 4 points 6 months 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.

load more comments (5 replies)
load more comments (34 replies)
this post was submitted on 07 Jan 2024
909 points (94.3% liked)

Programmer Humor

18388 readers
529 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