Yes. I started creating an online learning app for myself and encoded the negative to mean things like "never set," "user deleted," "missing data," etc. I don't think think I've used more (or lesser? 🤷‍♂️) than -3 in my code, but nothing prevents my using the whole range of an i8 in rust while also having robust exception handling.

Reply to this note

Please Login to reply.

Discussion

No replies yet.