Open scepticalcat opened 3 years ago
https://github.com/KarthickNarayana/toy_robot/blob/3d570a92d5c8b027e2456ec4f7bce47223719ecf/lib/toy_robot/robot.rb#L71
I'm confused by the separation of responsibility around the report method here. Seeing that this is an array, I went hunting for the actual text output of the report and did not expect it to be in the simulator. Why not just do the text output here?
Simulator is the one simulating the movements and also - tells you about where the Robot is standing after the movement.
https://github.com/KarthickNarayana/toy_robot/blob/3d570a92d5c8b027e2456ec4f7bce47223719ecf/lib/toy_robot/robot.rb#L71
I'm confused by the separation of responsibility around the report method here. Seeing that this is an array, I went hunting for the actual text output of the report and did not expect it to be in the simulator. Why not just do the text output here?