As the other poster said, most coding mistakes are not expensive and the ones that are should have automation/testing in place around them. It is definitely not worth having someone look over your shoulder and eat up the little breaks you naturally give yourself. There is a reason that hardly anyone at companies like Google, Amazon, etc. do pair programming.