y'all have been memorizing meaningless keywords for decades, it's nothing special for non-English speakers to do the same
Conversation
Also, "function". Everything in your code performs a function.
In the mathematical sense, only pure languages have "function"s.
The word you're looking for is "procedure"
4
1
32
Most keywords are *close* to english words but far enough that we learn them as a separate entity.
2
25
While I'm dunking on `static`, `static` in Rust doesn't mean the same thing as (any of the meanings of) `static` in C, it's closer to *globals* in C which are not the same thing as statics though they often are also static.
3
1
27
or `static` in Java, for that matter.
we took a keyword that meant ten things and invented an eleventh.
none of them have anything to do with the English word.
2
28
fuuuuuuuck float and double are TERRIBLE
Quote Tweet
Replying to @johnregehr and @ManishEarth
doubles (ha) as a "seems like we've been working with Gaussian integers all along" joke
2
25
When i was a kid javascript programmer I picked up a bit of Java and was SUPER confused as to what float and double meant.
The book said "floating point" and that told me NOTHING.
I knew they were numbers but I wasn't sure what was floaty about it.
4
6
31
This stuck with me for AGES because typically you don't look under the hood of an abstraction (e.g. a programming language) till you're at least somewhat familiar with it.
Man `float` is terrible.
2
1
25
I was going to make a joke about typing in the command "man float", but as it turned out, there's actually a man page about floats.
1
3




