Anyone tried different limit switches?

Has anyone tried a more robust or differently designed limit switch?

I found these last year when I was building a lathe. They were too big for that project, I don’t know if they’d work here. The body is about 3" long. I’ve been googling/binging/yahooing - trying to find the same thing but maybe an inch shorter. If you know of one I’d love the link…

Edit: Here’s the link to the ones I was talking about above -

Way overkill, but, those are decently priced.