in reply to Code Tags

It seems to me that the stuff inside code tags should be code (or at least code-like). I think the nodes should be edited (preferably by the author, but by the editors if need be).

As Ovid points out, the code tags have more behind them than just changing the font. Putting the entire message in code tags does interfere with the "Download Code" link (not to mention it's hard on my eyes).

Frankly, if I have to edit too much out of the code I download, I'm going to be far less likely to want to help the person who put the extra cruft there, when s/he could simply have put their question text *outside* the code tags in the first place..

Replies are listed 'Best First'.
(tye)Re: Code Tags
by tye (Sage) on May 24, 2001 at 23:45 UTC

    It seems to me that the stuff inside code tags should be code (or at least code-like).

    Just a minor clarification. Please don't use <pre> unless the lines are quite short (max line length of 60 characters should be safe). If you have something that you don't feel is "code-like" but that you don't want line wrapped/justified, you should probably still use <code> tags much of the time.

    This has the disadvantage of causing the text to be included when "download code" is selected, but the other problem of having a node that is way, way too wide is much worse.

            - tye (but my friends call me "Tye")