Is Barefoot at the Beach Worse Than Poolside?

Is that relaxing stroll on the beach worse than going barefoot around the pool?