This is my first post here! And here it goes:
I was working for a company for 4 months last year and there was one big mistake that made those couple of months really hard for me and that was not paying attention to what/who I was working with.
First off, don't trust what you hear in the interview, which can mean two things:
1- The interviewer may not be that honest with you or,
2- He/she may not see the job as you should (In a technical view).
When you get to the stage that you know what you're doing, there are a couple of things beside salary and co-working experience and other obvious things that you should make sure about:
1. What software stack they're using and how suitable it is for you to work with that stack
2. How experienced they are in managing the position they're hiring you for
Not knowing the above may lead to the experience that I had, a bad software stack led to losing my coding passion and therefore not delivering with the quality that I should have. And the second part led to not being able to manage the tasks and not knowing what to expect from the developer; which, in a rather small team, messes up the whole developing team and puts a lot of pressure on the developer.
So all in all, be careful who you work for!