lol @ every single damn "language keywords are in English ergo you need English to program" argument. Even if it wasn't missing a step, programming languages haven't been in English for decades, if ever.
-
Show this thread
-
`for` doesn't really make sense in half the contexts it's applied in. `struct`s are way more than "structured" (and enums are structured too!) on that note Rust `enum` doesn't make much sense and only nerds use "enumeration" in English. Oh, and of course, our old friend `static`
1 reply 0 retweets 26 likesShow this thread -
`static` in C is the best because it means 50 different things and none of them have anything to do with any actual meaning of the word
4 replies 8 retweets 49 likesShow this thread -
y'all have been memorizing meaningless keywords for decades, it's nothing special for non-English speakers to do the same
3 replies 3 retweets 41 likesShow this thread -
Manish Retweeted will
oh yeah, this one.https://twitter.com/uiri00/status/1005311172134912000 …
Manish added,
1 reply 0 retweets 18 likesShow this thread -
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 replies 1 retweet 24 likesShow this thread -
Most keywords are *close* to english words but far enough that we learn them as a separate entity.
2 replies 0 retweets 17 likesShow this thread -
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 replies 1 retweet 19 likesShow this thread -
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 replies 0 retweets 20 likesShow this thread -
Replying to @ManishEarth
I think “static” for function-scoped globals in C makes some sense: the memory location is static (a fixed address) rather than dynamic (a stack-pointer-relative offset).
2 replies 0 retweets 0 likes
(I know that’s not true anymore since globals and function statics are now dynamic too due to PIC, but originally it made sense.)
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.