A couple of questions that may help you better understand your own potential;
Do you have any fun at work? And if so, is it due to the work or your colleagues?
Does your job keep you up at night? And if so, in a good or bad way (e.g. stressful)
Do you still have the feeling you could program as a hobby if you weren't stressed as balls?
Do you have any mentors/coaches/seniors that help you overcome times when you're stuck/don't know where to move?
Most engineers are in the bottom 80% btw, and a lot do valuable work (albeit slow, and not 'bugfree'). These people are generally most effective when supporting a senior that is in the top 10%.
Also the engineering market is currently pretty shit, and it's not looking to get better any time soon.
What ever choice you make, try to do something that 'energizes' you.
A couple of questions that may help you better understand your own potential;
Most engineers are in the bottom 80% btw, and a lot do valuable work (albeit slow, and not 'bugfree'). These people are generally most effective when supporting a senior that is in the top 10%.
Also the engineering market is currently pretty shit, and it's not looking to get better any time soon.
What ever choice you make, try to do something that 'energizes' you.