this post was submitted on 07 Jan 2024
779 points (95.1% liked)

Programmer Humor

19817 readers
98 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
[–] [email protected] 264 points 11 months ago (20 children)

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] 6 points 11 months ago (4 children)

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

[–] [email protected] 8 points 11 months ago* (last edited 11 months ago) (1 children)

By typed they mean declairing a type for your variables.

In some languages, variables needs to be told what kind of data they can hold. That's it's type. For instance a number without decimals would be an integer type. While text might be a string type or a list of character types.

Other languages don't require types and sometimes don't even support them. They will just infer the type from the data that's in the variable.

If you see Elon Musk please explain this to him.

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

If you see Elon Musk please explain this to him.

I'm an idiot, and I still don't think I could dumb it down to his level.

load more comments (2 replies)
load more comments (17 replies)