12 ms·
I'm getting the sense that you're not quite picking up what I'm laying down here. Code also performs no computation on its own. A function with no parameters i
by samatman 6y ago
I'm getting the sense that you're not quite picking up what I'm laying down here.
Code also performs no computation on its own. A function with no parameters is just a complex constant.
Computation is always the union of code and data. People can and do embed full programs in 'inert' formats like JSON, and write an interpreter for that program.
This is a bad idea, and the notion that JSON is "just data" is exactly what fools people into writing such inner languages (implementing, of course, half of Common Lisp).
Reducing the motivating examples (JSON, TOML, etc.) to path strings is a weak argument, because path strings are not strong enough to provide for such an inner platform, while the data formats under discussion are, it happens all the time.
The very fact that I can point out that a path string is capable of driving less complex calculations than YAML is, points out that there is in fact a continuum from pure code to 'mere data' (a float, let's say), which undermines the argument that there is some strong distinction to be made here.
- phoe-krk 6y agoOK, I understand your point now, and I can agree with it. Thank you for the elaboration.