4 ms·
If your templating language is going to use a magic character it would seem useful to pick something less common than $. There are several odd characters on my
by speleding 15y ago
If your templating language is going to use a magic character it would seem useful to pick something less common than $. There are several odd characters on my keyboard (§`~±|¤) and if you are willing to use the ALT key there are really obscure characters that you can safely filter from the input instead of going through the trouble of escaping them. Filtering is so much more efficient/easier/safer than escaping.
Imagine how much easier life would be if in HTML we only had to filter for § instead of escape every <, > and ".
- dramaticus3 15y ago~ is not unusual on the internet, it is used for home directory webspace http://www.proweb.co.uk/~matt http://www.proweb.co.uk/~matt for instance
- dramaticus3 15y agoThat's my homepage. It's been a long time since I read it. Reading it now as a treatise from my younger self, though I didn't write it, I realise that spirit is lost. For a while it was "our" place but now we have to return to the underground.
- dramaticus3 15y agoI changed it http://www.proweb.co.uk/~matt/oldworld.html http://www.proweb.co.uk/~matt/oldworld.html
- speleding 15y agoWhy the down vote?