4 ms·
> prevents you from accidentally passing the wrong kind of value into a function, You can do this in other languages such as Pascal with subtypes and something
by kwhitefoot 2y ago
> prevents you from accidentally passing the wrong kind of value into a function,
You can do this in other languages such as Pascal with subtypes and something functionally equivalent in C# and other object oriented languages.
- 0cf8612b2e1e 2y agoI do not think the claim was that this is a unique construct to Rust.