Every job that involves thinking is the same. Gather bits, use a mix of intuition and reason to piece them together in a goal-focused manner, tidy it up, rinse and repeat.
Intuition and reason are romantic terms for pattern detection and logic. Computers are already quite good at learning patterns. Pattern detection is a passive skill; it happens without trying, whereas logic is powered by the desire to accomplish tasks. When machines begin to do that, goodbye intellectual professions...
2) What prompts me to say this is how similar very different professions really are when you start looking at what sorts of mental skills are required to perform them. My mother was impressed that I knew how to make a knitting pattern repeat seamlessly, but that's no different from making game map tiles repeat seamlessly. She'd probably be an excellent sprite artist if she knew how to use an image editor.
3) Dad is a retired journalist. Growing up, I saw how newspapers are made, and it's not so different from piecing together a computer program really. You have sections and they must be arranged sensibly, there are constraints and deadlines on everything, the end user must comprehend it, and it's outdated before it's released.
4) There is huge demand for computer software, but it's expensive and time consuming to develop. The status quo of software manufacturing in 2018 is that the job is much simpler than it has ever been. Prefabricated parts have eliminated much of the blueprinting and lathe work, but we are still assembling almost identical models by hand without an assembly line. The world is aching to make the process more efficient and cut down on the required head count.
@xj The existence and growing popularity of such libraries points the arrows in one direction, though, and it's not toward rolling your own code. Maybe we aren't quite in full-on Lego mode yet, but the arrows are pointing that way. It's an expensive and slow process, machine learning is big and its arrows are pointing the same way: Less humans needed. I'm sensing a momentum. It's not 100% clear how it's gonna happen, but I just have this gut feeling.