My theory is that, when done properly, it’s much closer to science than engineering.
And by “done properly,” i mean done in a regimented way with evals to verify that a wide range of inputs produce the desired outputs.
Prompting is much closer to discovering the properties of an already existing system than building something using engineering methods.