on 2017 Oct 27 9:06 AM
Code insufficiently formatted in answers and comments, making code snippets unnecessarily difficult to read.
This is good, the code is clearly distinguishable from the rest of the text:
This is not good, and can even cause mistakes and confusion, as it is unclear where the code ends, and the normal text continues:
Request clarification before answering.
Test answer with code
TEST CODE
END TEST CODE
Test answer end.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, I understand your point:
Code in the comment has no border, no space before and after, different font size and no syntax highlight.
Minor bug, but for sure has to be fixed!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, but not clear what is the issue? Code block has grey background...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Code block has a clear grey background and demarcation in the question (first screenshot), but not (or hardly visible) in the comments (second screenshot).
In this example the person posting the question could easily (unwittingly) copy the code including the "Regards," and get a big fat error when they try it out.
Also a different code formatting in comments is entirely unnecessary. Comments are hidden anyway, so no worries that the entire question would become hard to read.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.