Closed robertDurst closed 6 years ago
Beginning to make error handling better. This will be key for when we start to handle more complex user inputs. Here is a good place to read up: https://doc.rust-lang.org/book/second-edition/ch09-02-recoverable-errors-with-result.html
Also, split code to make more modular. This will make it easier to add more commands since there is not just one large stream command.
That being said, it may be a good idea to take this further...
Beginning to make error handling better. This will be key for when we start to handle more complex user inputs. Here is a good place to read up: https://doc.rust-lang.org/book/second-edition/ch09-02-recoverable-errors-with-result.html
Also, split code to make more modular. This will make it easier to add more commands since there is not just one large stream command.
That being said, it may be a good idea to take this further...