RahulRj09 / Snake-And-Ladder-Game

0 stars 0 forks source link

What is the purpose of this code? #10

Closed samyakbhuta closed 5 years ago

samyakbhuta commented 5 years ago

https://github.com/RahulRj09/Snake-And-Ladder-Game/blob/96b1d83d66f53386208b85adffd17e812902e95c/src/main/java/game/Player.java#L29

If the code has been written for debugging purpose, it is a bad practice. Should avoid it. Should use standard/idiomatic debugging practices (breakpoints, debugging tool etc!)

RahulRj09 commented 5 years ago

Okay I will use breakpoint and debugging tool from now onwards.

RahulRj09 commented 5 years ago

1a2d708 fixes it.

samyakbhuta commented 5 years ago

:+1: