When a kid caught me doing that, I just told him I wrote it twice to check it was right, like a spelling check but for code. Making it sound normal helped, because they stopped giggling and started doing it too. It's really just a habit that keeps you from missing dumb mistakes, nothing to feel bad about.