Everyone can write bad code

02-09 01:39

It’s Simpler than You Think

Writing bad code is simpler than you think. Yada-yadas will make you believe that it takes special skills to craft junk code, that only a “chosen few” among us are capable of doing it. They may trick you into thinking that it takes a lot of apathy, the ability to hand wave, the special gut feeling to make bad assumptions, and a keen, sharp focus on the short term (or smaller picture). Sounds like a lot, doesn’t it?

Well, to tell you the truth, it’s not that hard. For those of you who strive to write poor code, with a special focus on screwing up on big data jobs, I have compiled a set of action items that will help you in embarking on this journey.

A word of warning is in order. As you read through the 16 points, you may get demotivated. You may think you’ll never be one of them . To fight such dark thoughts, you may want to think about the developers you had written off as good ; haven’t you seen them doing one of these? If they can do it, so can you!

0. Don’t Unit Test

1. Don’t Waste Time Thinking About Names

2. Documentation is Useless

原文链接:http://madaan.github.io/wbc/?utm_source=tuicool&utm_medium=referral
标签: 软件开发
© 2014 TuiCode, Inc.