From the way I see things, there’s more similarity between a single function() written by a programmer and a telegraph operator. Both receive a defined input and need to return a defined output.
There was no need to arrange, rearrange and organize the Morse code so the output would be more efficient. Software engineering needs some creativity and thinking.
While I agree development of software is becoming easier by the day, I think it’s just the mundane tasks that get are getting automated in the process. The task of “arranging” the output of these mundane tasks still seem to largely remain(and not shift) to an automation program.