My latest commuter is a fixie, with fenders, dyno lighting, tubeless, front disc. Perfect. Fixed is an acquired taste.
Next best was a full rigid MTB, 3x8, lots of mounting points, so rugged, a real workhorse. With 35mm slicks, fairly quick. These days I'd go 1x. I rode that for a decade.
I used a cx bike for a while. Fender mounting was challenging, but it was a blast to ride. Light, super nimble. Fun is good.
Previously had a Priority Eight, belt drive, dyno lighting, fenders, eight speed internal hub. I was always tweaking the shifter. Shredded one belt, broke one rear sprocket. Kind of liked it but in retrospect it was a very fiddly bike.
I commuted on a vintage Schwinn Super Sport drop bar road bike bitd. Nothing wrong with that.