User talk:CRGreathouse/lang tags: Difference between revisions

 
(One intermediate revision by one other user not shown)
Line 9:
::: Right, lang shouldn't be misused for output. On the other hand, it's entirely possible to have code for a different language in a section; for example, I recently wrote a section in which one language made a messy external call. To clarify I broke that section out (after finishing the code in the other language) in a short snippet marked <nowiki><lang bash>...</lang></nowiki>. [[User:CRGreathouse|CRGreathouse]] 18:53, 28 November 2011 (UTC)
::::: Nearly all the CoffeeScript examples flagged by this report are using the lang tag for interpreter output (interactive sessions, etc.). --[[User:Showell|Showell]] 06:00, 29 March 2012 (UTC)
:::::: Also, I was using lang tags for output, because it was the convention that seemed to be established before I started contributing. (I happened to look at CommonLisp, since it's adjacent to CoffeeScript alphabetically.)
::::::: Yes, that's the case for C as well. It really should be phased out in favor of <nowiki><pre></nowiki> tags, except perhaps in special circumstances (REPLs or other interactive sessions, code that outputs code, etc.). [[User:CRGreathouse|CRGreathouse]] 03:59, 30 March 2012 (UTC)
 
==Updating the list==