I have OCD and a typing habit where mistakes or deletions can trigger a need to type paired keys. Not following the pattern causes a lot of discomfort, and I worry it could slow me down or look strange during a technical interview. Should I explain it, ask for an accommodation, or try to suppress it?
How should I handle OCD-related typing habits in a coding interview?
Answers
You don't need to treat this as a ridiculous question. In a live coding exercise, try talking through your approach, assumptions, and checks as you work. That gives the interviewer something to follow even if the typing itself takes extra time.
If you want to say something upfront, a brief explanation that you have a typing habit is an option. You don't have to give the interviewer a detailed account of your OCD just to explain every keystroke.
Reply to this answer
If the habit could noticeably affect a timed assessment, consider contacting the recruiter or hiring team before the interview. You could ask about extra time or whether the exercise can be done in an environment you control.
Accommodation rules and what an employer can provide vary, so ask about their process rather than assuming a particular request will be granted. You can also ask what information they need and who will see it.
Reply to this answer
I wouldn't make an interview the test of whether you can just ignore the urge. If the habit is causing distress or getting in your way, a therapist familiar with OCD can help you explore treatment.
Exposure and response prevention is one approach you could discuss with a professional. The goal would be to work on the pattern deliberately, not force yourself through an already stressful interview without support.
Reply to this answer
Try a timed practice problem and see how much time the typing pattern actually takes. That gives you a more concrete basis for deciding whether to request extra time, rather than guessing how noticeable it might be.
Reply to this answer
Add your answer
Answers are reviewed before publication.
paperboat.plus:
Asking ahead also gives you a chance to clarify the format. A live shared editor and an exercise completed alone may pose different challenges.