I'd say most of my CS classes (in the 90s) had us write out code by hand, on paper, during in-class exams.
It was fine.