Comment by tayo42
Some things are obvious it's a negative situation though. If you're looking for a new job after a year what can you say?
My approach would be along the lines of "if you have nothing nice to say don't say anything" which would probably lead to some vague statement like "it wasn't a good fit"
Software jobs are generally pretty nice jobs. If your leaving one it's not for some positive reason. I feel like people know that.
Why are you leaving your current job questions are typically inartful checks whether there's "something wrong with you." Refusing to meaningfully answer can come across as, "I'd prefer not to discuss whether there's something wrong with me." Not explicitly damaging, but certainly not confidence building.
The most useful answers I've heard in the wild were dispassionate, one sentence expressions of why <objective fact> made the existing job irreconcilable with your <valid need>. Done well, that shows the hiring manager you're able to approach conflict constructively, and gives reason to believe the bad fit is unlikely to recur in this role.
AskAManager[0] also suggests "I’m not actively looking, but I saw this job and was really interested because of X," as a reasonably broad spectrum solution to this problem. (Though after just a year, I as a hiring manager might still worry you are flighty).
[0] https://www.askamanager.org/2023/02/how-do-i-tell-interviewe...