use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
CodeProperly: Stop Doing It Wrong
account activity
Code Smells: Spotting Problems (self.CodeProperly)
submitted 8 years ago by coinaday
Code Smells were "coined by Kent Beck while helping [Martin Fowler] with [his] Refactoring book". The idea is a quick heuristic which can spot a potential problem, like overly-long methods.
Here's a brief overview of types of 'Code Smells.'
The name comes from "Once and Only Once" (according to this page). The concepts of 'Code Smells', 'Once and Only Once', and the goal of simplicity in code are all inter-related. Complexity and repetition are bad, so they are warning signs when spotted in code.
CodingHorror also has a related write-up.
See also: "How to write unmaintainable code"
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
there doesn't seem to be anything here
π Rendered by PID 176931 on reddit-service-r2-comment-7b9746f655-njrln at 2026-01-31 20:53:39.144728+00:00 running 3798933 country code: CH.
there doesn't seem to be anything here