At most you got to use dialects like Small-C and BDS C on other platforms.
At most you got to use dialects like Small-C and BDS C on other platforms.
My point, above all, is not tied to this specific example, by the way, hope you understand how an informal tutorial about the language does not replace a strict specification - and pointing out that such information is available somewhere if I look hard enough does not disprove anything.
I didn't look very hard, I went to the language reference and searched for "?" in the Tokens section.
I was surprised by how informal the Rust language semantics are when I was trying to find out how the `?` operator works, exactly. There's no official description anywhere except for an RFC which was created before the feature was introduced, but from which the feature has diverged significantly since it was added to the language!
The Rust Book, normally assumed to be the "true" description of the language, is quite incomplete in places as it's not a formal specification. For example, the section about `?` does not mention that different error types will be auto-converted if there's a `From` implementation between them. This is quite important information missing from the documentation. Just from reading that page, you would be writing really verbose type conversions yourself, everywhere.
But the Rust Book does mention this elsewhere[2] (if you're careful enough reading the first link, you can see that it says `?` is "more or less" equivalent to `try!`, and reading the docs for `try!` you could actually find out what it does, and hope they didn't change anything when implementing `?` - but that's a quite a lot of assumptions). You just need to read the whole book, or at least be lucky enough to look at all the right places, to make sure you understand how a language feature works, precisely.
[1] https://doc.rust-lang.org/edition-guide/rust-2018/error-hand...
[2] https://doc.rust-lang.org/book/ch09-02-recoverable-errors-wi...
https://doc.rust-lang.org/stable/reference/expressions/opera...
Deleted Comment
On the other hand this should work for McDonalds, where nobody's expecting friendliness or much of anything; it's basically a feed trough.
The idea that these news organizations are monolithic structures where hive minded journalists are endlessly seeking to push their master’s message is on its face ludicrous, as are all conspiracy theories.
Also, please don't cast aspersions like "only seems accurate" and "conspiracy theories." There is no conjecture in this editorial: It's somebody's opinion about recent, real developments in major newspapers.
“My kids are dumb. I do not want other parents kids to get ahead only because they are smart”
I'm white and this was me. If it weren't for these programs, I'd either be in jail or working retail/fast food. Congratulations on provoking me, I'm going to take a long hiatus from HN now and go build something. I've changed my password to a randomly generated (ephemeral) string on this and my main account; I won't be back to contribute.