Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options answers only not deleted user 897

The term "clean code" is used to describe computer programming code that is concise, easy to understand, and expresses the programmer's intent clearly. Questions with this tag relate to the process of writing clean code, or refactoring old "dirty" code to be clean code.

190 votes

How to avoid comments about one line of code for cleanliness

and read that comments are almost always a bad idea for future maintainability And now you are reading that the above is total and absolute BULL____. Use comments. Put in as many as you think ar …
GrandmasterB's user avatar
  • 39.4k
1 vote

Casual projects on Github omit error checking, logging, etc., for the sake of clarity?

If this is code intended to run in live environments (actually used in real programs), include all the necessary error checking and logging. If its meant for teaching purposes only, you can safely le …
GrandmasterB's user avatar
  • 39.4k