When designing a language, one of the most important things is to give your users choices. In particular, you should make them agonize over the appropriate numeric type for each of these three cases, as three separate choices: - Collection sizes - Collection indices - Loop vars
Replying to @domenic @tabatkins
One side effect of Rust’s almost total lack of numeric type conversions is that it heavily encourages use of usize for all of those, or else you’ll be casting everywhere. I hadn’t considered that this can actually be a benefit…
1:23 PM - 23 Jul 2018
from South Beach, San Francisco
0 replies
0 retweets
4 likes
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.