Superstitions are widely held beliefs with little or no rational reasoning behind them. They often result in little rituals we do to ward off the bad luck that we believe will result from them. Superstitions are frequently passed along from person to person and may have origins in magical thinking.
What are the superstitions that you (or your coworkers and friends) have when they are programming or working with computers?
Here are some I've thought of:
Relative paths in Unix must begin with . or ..
I see this one a lot. Some programmers believe that there are only two kinds of paths: those that start with a slash (/etc/motd) and those that start with a dot (./myfile). All others are errors.All classes must have getters and setters for their private fields
This is, of course, not true. They were probably taught it in their first programming course and it has stuck ever since and passed along as gospel.(Using a flip phone) The phone must be closed and opened between calls
My parents do this. They will close the phone and open it again even though pressing the red END button would do the same. Not specifically programming related, but it's an example of a superstitious ritual and could influence the user interface design of future phones.
What superstitions do you or your family/friends/coworkers have about programming?
Note: I'm exploring this as a possible topic for a research dissertation in computer science.
