I agree with most of your comment but
> YAML is not turing complete and is hence not "code".
seems wrong to me. In fact I've heard code/coding to include non-Turing complete languages (e.g. html) as distinct from programs/programming.
> YAML is not turing complete and is hence not "code".
seems wrong to me. In fact I've heard code/coding to include non-Turing complete languages (e.g. html) as distinct from programs/programming.
IMHO you can only "code" in programming languages (not necesseraly executed by a CPU).
A programming language does not need to be turing complete though to "code" in it. You're just limited to the problems you can solve with a turing-incomplete language.
It's interesting to think if using a problem-declaration language is coding.