3 ms·
It is a fair point. But one has to be careful where the balance is. In the beginning, it would be a text file with a few string interpolation in between, which
by jasim 11y ago
It is a fair point. But one has to be careful where the balance is.
In the beginning, it would be a text file with a few string interpolation in between, which means we insert logic inside content, and it can remain in the native format.
But over time, as in the HTML generated for web apps, the balance of content inverses. What begins mostly as some logic inside predominantly static content, becomes some static content inside a lot of logic. At that point, it is best to make code the primary medium.