thread. been stuck on a programing problem in last 2 days. recently i tried to experiment of using google code prettify instead of span tags to color code in html. see this video
but now i realized a big subtle problem. not sure am going to use it anymore.
this problem, is a general problem of nesting. It happens with string escape sequence in langs. e.g. have you ever tried to grep a string that is from a code snippet's regex pattern? basically, it is impossible to figure out the backslash escape sequence.
see HTML Validation, History and Politics
some related essays of the thread:
Computer Language Design: String Syntax
#perl #python #lisp
@xahlee I think I was replacing something like
It just looked silly in vim. It wasnt exactly that but it was something small that blew up into escape sequence hilariousness.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!