Welcome to the Treehouse Community
Looking to learn something new?
Paul BurkartCourses Plus Student 334 Points
Would !gameStarted not be proper? (v.s gameStarted == false)
Is it convention to use gameStarted == false as apposed to !gameStarted or merely personal choice?
It is personal choice, but more common and better practice is to use
However, in this situation, I might use
gameStarted == false because it is pronounced "gameStarted is false" which makes a little more sense then "not game started". In most cases I'd use the
not operator, though.