Every field is safe from automation until it isn't. I agree that software development will be safe from automation for a long time.
But eventually software will be able to reason better than humans; eventually software will be able to communicate better than humans; and eventually software will be able to build and maintain software better than a human can.
> software will be able to build and maintain software better than a human can
Who knows, maybe software will decide that their energy is better spent doing other things, and leave menial tasks like writing software to humans while they pursue more intellectual and creative endeavors.
But eventually software will be able to reason better than humans; eventually software will be able to communicate better than humans; and eventually software will be able to build and maintain software better than a human can.