Open scepticalcat opened 3 years ago
https://github.com/KarthickNarayana/toy_robot/blob/3d570a92d5c8b027e2456ec4f7bce47223719ecf/lib/toy_robot/robot.rb#L63
While the distinction is effectively irrelevant to the language, conventions are important for legibility and maintainability and so using camel case for variables when it's Ruby convention to use snake case should be avoided.
just flash from past - Java Vs Ruby. Snake case for Ruby.
https://github.com/KarthickNarayana/toy_robot/blob/3d570a92d5c8b027e2456ec4f7bce47223719ecf/lib/toy_robot/robot.rb#L63
While the distinction is effectively irrelevant to the language, conventions are important for legibility and maintainability and so using camel case for variables when it's Ruby convention to use snake case should be avoided.