Re:Rust can be difficult to learn and frustrating, but it's ...
by user111233 on Sunday October 28, 2018 @07:49PM
(#18323953)
If you define work as not throwing an error. You can't just put anything in to a function and have it return a useful result. Thats why typed language programs like haskell programs often define datatypes that are just an Int because user_id is not the same kind of data as product_id even if they are just an int.
[ Parent
| on HN ]
There are no comments on this comment yet.