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
https://www.youtube.com/watch?v=ml7V_OnBAOk
but now i realized a big subtle problem. not sure am going to use it anymore.
here's a example of how unreadable code is, after ampersand encode, even if you are not using span tags for syntax coloring. Note, if you do not ampersand encode it, your html page is totally screwed after the code snippet.
#python #JavaScript #ruby #golang
see HTML Validation, History and Politics
http://xahlee.info/js/web_html_validation_index.html
some related essays of the thread:
Computer Language Design: String Syntax
http://xahlee.info/comp/strings_syntax_in_lang.html
#perl #python #lisp