It depends. Is programming something you practice as a hobby or just as a means you learned just to earn money? The best kind of job for programmers is the job that they enjoy. Coding and programming is like foreign language to everyone else and only a handful actually bother in learning and devoting a profession to it. It also depends on what the programmer is comfortable of doing; whether they like to work alone or in groups, in the house or outside, etc. However in times of desperation, you have to consider what's also the highest earning. If for example you can't find a decent one locally, I still suggest you still work there. Work locally, acquire experience in your portfolio, gather more work experience, then upgrade to a better work area that is looking for much more experienced people.
The main problem I see in job seeking is that some are too impatient in finding a decent job that they tend to forget what employers are also seeking. The first job you enter doesn't need to be decent or substandard. What is important is the work experience you can put on your resume. Employers will usually not accept freshbloods even if the skills you have a high. You can't usually force them to watch you code and convince them that you are better than other candidates. So instead of looking for that something in the job, you should instead acquire that something that the job is looking for. If you think they have what they are looking for, then that's the time you should start looking for the perfect job.
Apologies for going off a tangent there. I just decided to put this out in case some other people manage to read this. Anyway, back on the topic. The perfect job is one with a decent to high pay, and low stress.