(I didn't go through with this, but considered) While I was a student I worked for a small shop that sold online services. I was something between an intern and a junior developer/security guy.
The boss (non technical) privately asked me one day to do some research about automating some data entry processes, basically reading from excel files, some databases, formatting and putting it all in another database.
I found out later that if that script is made it would lay off a number of people doing data-entry. I didn't go through with it for many reasons.
It's the only thing close to a justifiable reason, honestly. But even then, if you're paid for a full-time job as a developer, and asked to develop a piece of software, you can't very well say "I'm paid enough to develop all the other stuff you want, but not this one thing" with a straight face. You could certainly use your development of it as a good reason for a raise, though!
While there are some truly bad things in the top-level comments, it seems a non-trivial percentage of the responses here are some form of "my employer attempted to make money, sometimes even a profit, in legal ways."
Agreed, it's pretty much what we (programmers) do. A cleverer boss will use his people to make more profit, instead of fire a bunch to reduce costs, but cest la vie.
Sometimes, sometimes not. Not all automation puts people out of work. I work for a company whose service facilitates a marketplace and allows a real life industry to grow.
Without our service nobody was doing the job of connecting the people who find each other on our platform. The industry was simply smaller and people could find others to work with only through their personal networks. There are no jobs being lost to our automation, only jobs being created.
I remember my first on site project at a paper mill in the north of England. I couldn't figure out why the people involved were so hostile. It was only later when I was talking to the salesman about it that I found out they were all going to loose their jobs once I'd finished.
The boss (non technical) privately asked me one day to do some research about automating some data entry processes, basically reading from excel files, some databases, formatting and putting it all in another database.
I found out later that if that script is made it would lay off a number of people doing data-entry. I didn't go through with it for many reasons.