Computer programming is laying out the predefined operations (actions) in compositional/recursive/recurrent manner to go from one defined state (e.g. assignment of variables) to the other defined state (e.g. assignment of variables). Planning is the similar construction of the sequence of actions, but those actions my be more primitive ones (e.g. thay can not allow numerical of action-type parameters, so compositionality can be prohibited). So - my question is - how computer programming differs from the planning and whether computer programming can be considered as the special case of planning.
I am actively studying the program synthesis https://www.microsoft.com/en-us/research/wp-content/uploads/2017/10/program_synthesis_now.pdf which is really hot topic in this (2019) year and I have hard time to connect those notions. Expressing the semantic elements in some particular programming language is so remote and nonessential topic.