I'm not sure if I understand what you're asking, so I'll say where I live people are indifferent to whether or not someone is a programmer. I don't program for attention, so I don't really care what other people think about the trade, but I've never met someone who looks down on it. And if I did, I would continue on my merry way and let them continue to have their misguided views.
In the US, computer programmers are often treated as one of the "smart people". However, only wealth earns you much respect here; being smart only goes so far, depending on whom you encounter.
I, for one, have unusual access to people from nearly every class of society (though not the very tip-top) in my everyday life and friends. And I can tell you, attitudes vary among all classes.
(US people tend to be very, um... individualistic.)
We persecute programmers as practitioners of the dark arts.
:)
I'm from the US, and I only consider a small percentage of programmers to be "smart people", the others are just "educated idiots"[1]. From personal experience, there seems to be an inverse proportionality between how much time a person spends programming, and how much common sense they have.
People here in my country are just getting the hang of technology. There are a few of Software companies and such but Programming is yet to be fully accepted as a job. Actually, only few of the population knows about Computer Programming, but things are really improving as they are now starting to incorporate it into curriculum.
Overall, people are indifferent to programmers here, but everybody likes those with high salary.
I think I understand CMinus's remark. I think Egypt is more known for their archaeologists due to Egypt's famous past. Though it truly saddens me as you would think programmers would be a hallmark as their ability to make the programs that could help archaeologists would be invaluable.
Well, the same way most people see math - they don't understand programming or what it's for, although they do comprehend that it's important when you give a few practical examples. Other than that, the same as any other person that does something for a salary.
It isn't that programmers actually are any smarter than anyone else... I could tell you my own horror story about how some loser confunded management for a long time until (after I had quit because I didn't want to have to deal with his nonsense any longer -- which was my job... alas) the rest of the employees in the company using his crap finally told management to get rid of him and his garbage programs.
Top scientists and mathematicians and archeologists and the like tend to make their own specialized software. Those more on the bottom will be more likely to hire someone to write something or use some preexisting software than take active interest in its development, no matter how useful it is to their work. (AFAIK)
Everytime I buy a computer programming book the clerk says something along the lines of "Oh, your one of the smart ones..." Oh, and your left handed... ooohhhh bleh bla bleh bla"
It's all pretty silly, really. They never witness how often my compiler barfs when click that green arrow.
Now that I've moved to the US, and am practically jobless/income-less, this means I get no respect whatsoever.
On the other hand, I get to write the software I care about. Let the rich people pay big bucks for their software >:), and losers like me get the programs they always wanted :)
In India, programming is one of the highly paid, most envied career. Software engineers are the role models for school kids. If you land a job in a Multi National Company as a programmer, then you have achieved everything in life ;-)