Skip to main content

All Questions

1 vote
0 answers
89 views

Bug: Interpreting C# code as incorrectly formatted code [duplicate]

When using the code format sometimes the color isn't correct. For example, in this question the word CPerson Blue is blue instead of Black: And the set is Blue, and get is Black: This is a screenshot ...
Raful Chizkiyahu's user avatar
29 votes
2 answers
1k views

Are backticks appropriate for emphasizing references to things that show up in code?

I've been following this "When should code formatting be used for non-code text? " post for guidance on removing backticks when reviewing suggested edits as well as when forming my own questions and ...
CryptoFool's user avatar
  • 23.2k
-10 votes
1 answer
124 views

Is there a reason why code formatting does not have any rules?

When I have a time, I really like to help people on Stack Overflow. Questions I'm reading are mostly created by new users or others that did not ask much questions in a past. Those questions are ...
Dawid Zbiński's user avatar
18 votes
1 answer
558 views

Can't Seem to get This Code Into a Codeblock

I wrote an answer that uses a ton of conversions: chrono::system_clock::to_time_t(chrono::system_clock::time_point(chrono::duration_cast<chrono::seconds>(chrono::duration<double>(input))))...
Jonathan Mee's user avatar
2 votes
1 answer
120 views

Should questions be edited to remove error-checking statements that dilute the code?

In C one should rigorously perform null-checks, however doing so obfuscates the rest of the code making it more difficult to review. Is it okay to remove such statements from an original post solely ...
Filip Allberg's user avatar