I think there's some confusion in this thread: yes, all programmers should develop their ability to solve problems alone. But new programmers should definitely avoid accepting a position where they would be the only programmer, if at all possible. If you get such an offer and are worried it's the only offer you'll get, I think you should bank on that being wrong and stick it out and wait for an offer with an actual team.