4 ms·
Nice description; it makes me wonder if there are any languages in which code and data have different serialisations, but these are isomorphic in the sense that
by 082349872349872 2y ago
Nice description; it makes me wonder if there are any languages in which code and data have different serialisations, but these are isomorphic in the sense that code and data can be turned into each other losslessly? (we ought to be able to round trip between the two: code->data->code and data->code->data ought to produce equivalent structures to what they started from)
- kazinator 2y agoWhat would prevent us from being used the "wrong" way around: code being written with a data notation and vice versa. When the system prints data it could choose one or the other, based on some educated guess as to whether it is cold or data.
- 082349872349872 2y agonothing — I was assuming the conversions would need to be explicit. Do you have a candidate in mind?