Leo's Updates Articles about Technology, Cycling and Politics

23Aug/060

Computer Programmer Job Security 101: Write Unmaintainable Code

You always hear news of tech companies having lay offs and firing thousands of workers. Don't want to be one of them? You have to make it so that you are irreplacable at your job. How do you do that? Make yourself the only person that can maintain your code. Here is a great guide on how to do this.The guide has some great suggestions, such as "Make sure that every method does a little bit more (or less) than its name suggests. As a simple example, a method named isValid(x) should as a side effect convert x to binary and store the result in a database."When I did a lot of C++ programming in High School, I often made my code difficult, if not impossible to follow, because if my teacher didn't know what the code did, but knew it worked, he wouldn't bother grading it in great depth, but instead would give me a quick A. 

Share and Enjoy:
  • Print
  • Twitter
  • Digg
  • Facebook
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

You must be logged in to post a comment.

No trackbacks yet.