If-Else Shark Jumping
Published in
Apr 10, 2024
You are hiking in a forest. You see a sign that says
is_black_bear_seen ? is_bear_approaching ? act large, make noise : back off slowly : keep walking
Heck, this is so much better and easier to understand than
if you see a black bear, back up slowly if it is not approaching you. Otherwise, act large and make noise.
Right? Right?