Earlier quoted context omitted.
Programming is mostly a craft. Engineering would be more like designing algorithms.
That's research. Engineering would be programming, but well. Taking into account future maintenance concerns and so on. Seems like the software world doesn't do a lot of it.
engineering: implementing an 8088 emulator
science: discovering a way to make an 8088 emulator using quantum computing