I checked the lecture (4 - Movement) and nowhere does Stephen mention that code would stop the camera at position (0.0, 0.0).
The code you’re showing also just moves the map without any limitations other than moving the map only when we want it to move. We do eventually do what you’re describing by stopping the player from moving into the water at a later lecture, though.