It happened to me a couple of times but I always see an opportunity when this happens.
First of all, it means you were in the right direction. That company had probably way more research firepower and they ended up at the same point.
Now...
Is your product better, in any way?
Well, you can leverage that, saying "XYZ did this...we improved it".
If their product is better, try to understand why.
Is it a lack of knowledge, time or budget? If something's different, why they did take this different approach?
Can you offer a lower price or better integration with other software?
Maybe you can build on top of it and improve it therefore leveraging their superior market share to your advantage?
I always mark this events as a positive sign, it gives me confidence and validates my way of thinking more than the outcome itself but I'm curious how other hackers react to such events.
Cheers!
From the title I thought you were going to be asking for advice 😄. But everything you said it's true.
It's comforting to know that you have competitors, it means your ideas has potential and has already been validated (probably). It's also a great opportunity and sit back and wait a bit, observe what they do, learn from it and do it better.
I was actually looking for opinions even though I ended up giving tips myself. I'm curious if someone decided to quit a project because of competitions or did the opposite and succeeded eventually?