It’s less than ideal if you do want to be a technical IC later as it’s typically a multi-year technical career gap. I never saw another ex-(US-)officer SWE/SEM appear in the veterans@google ERG. And tbh I didn’t really count either because I had a post-service PhD.
But to be sure I served with two amazing MIT NROTC grads in my sea tour. You do what you have to do.