How to detect bad UI design [closed]

I am a software developer who also does UI design. My question is, is it for me possible to detect UI issues during development. The big problem I know from other developers, they don't see bad UI design, cause they can use it. Same for me.

Here is an article from Phil Haacked, which I'd like to take as reference:

It is just about the first two paragraphs around the pictures, which says:

GitHub for Windows (often abbreviated to GHfW) is a client WPF application written in C#. I think it's beautiful.

Github for Windows

This is a credit to our designers. I'm pretty sure if I had to design it, it would look like

wget GUI

The last picture is, how I see developer designed software a lot. My point is, can you detect issues during the design process?