Nearly everyone is familiar with Murphy’s Law, the adage that
anything that can go wrong will go wrong. It is a hyperbolic
statement; there are many scenarios with a minute chance of
actually occurring. However, bad things do happen to good
developers, and you can avoid losing your job, your project, or
your life, with enough precaution. I compiled a few lifesaving
tips for developers. Please add your own in the comments! Avoid
code that elicits “Hey ya’ll, watch this!” I love testing the
boundaries of languages and tools, but weird code constructs
typically do not belong in professional software. If you’re
glitching the system to achieve a result, you run the risk that
the glitch will be fixed. Even if it isn’t fixed, it’s unlikely
that future developers will be able to maintain the oddball
code. Expect the worst: your code may actually create a
difficult to locate bug that prevents the software from working
properly if at all. Use version control When I began programming
professionally in the late nineties,