mirror of
https://github.com/google/comprehensive-rust.git
synced 2025-05-22 10:21:03 +02:00
I think it would be good to simplify the expression evaluation exercise by removing the error handling around the divide-by-zero case. I think it overcomplicates the exercise and and adds confusion since at this point we haven't introduced `Result` (or at least not in any detail). This allows the students to just focus on writing the pattern matches on `Expression` and `Op`, and allows the exercise to be shorter (and I think we need to free up some time where we can, my classes often run long and cut into how much time students have for exercises).