Wrong Priority

I made a wrong priority when doing a hobby project.
I often think I will create a software X to show that I have skill Y. However Y can be far from the best choice for doing X.
I am a bit bummed out knowing that doing certain task in other tech stack is trivial, but in my choice isn't.
Doing new things will require time for research and unfortunately the result can be far from satisfactory. It is better to have longer time for research in the beginning rather than start coding.