Re:Implications of Rewriting a Browser Component in Rust
by Sharlin on Thursday February 28, 2019 @04:45PM
(#19275538)
It's more about ergonomics. With `get` you get an `Option` which allows you to handle the out-of-bounds situation, but is unnecessarily noisy when you know that the index must be valid unless the program is buggy (and in that case you most likely want to abort anyway).
[ Parent
| on HN ]
There are no comments on this comment yet.