2 ms·
> Generally for templating, you want a visual distinction between the control language and the target/rendered language, because they are two different things.
by cubefox 1y ago
> Generally for templating, you want a visual distinction between the control language and the target/rendered language, because they are two different things.
But as I just said, in the end their function actually doesn't seem overly different (to me at least) so a visual distinction with curly brackets rather than angle brackets is perhaps not necessary.
- naasking 1y agoLanguages are intended to be read more than written. You'll often be manually reading both the original source and the generated source and comparing them to ensure the original source is being correctly interpreted. Having those visual markers is very useful for debugging this process.