William of Ockham was an English Franciscan friar and scholastic philosopher who lived from 1287 – 1347. He probably used a straight-edged steel knife freshly sharpened each day on a whet-stone. I don't think safety-razors were thought of till about the C17th and then they took a while to evolve.