For me, the rule of thumb was made very clear: riding bikes on the sidewalk was a no-no. Never questioned it, just accepted it. But as we grow older, we begin to question our ingrained beliefs, and that's precisely what happened to me recently.
There are some laws on the books that make no sense. Some are outdated that may have made sense at one time but others, no matter when they were made illegal, they made no sense.