The Ten Commandments of Software Development

Over the years I have seen, and written, good, bad, and atrocious code.

However, there are a few things a software developer should do:

  1. Thou shalt always parameterize thy queries
  2. Thou shalt never test in production
  3. Thou shalt always use thy debugger
  4. Thou shalt never use magic numbers
  5. Thou shalt always use intuitive names
  6. Thou shalt never blindly copy and paste code
  7. Thou shalt always use source control
  8. Thou shalt never duplicate code
  9. Thou shalt always write self documenting code
  10. Thou shalt never assume the client knows what they need

Go forth, fellow software developers, and spread the news.


Object Oriented Programming Part 3: Inheritance, Encapsulation, and Polymorphism Are Awesome

I’m taking a different approach to these blog posts and am trying to be more natural. I usually don’t talk stuffy in real life, and this is a blog, so I am going to be all natural with the way I write.

Here goes nothing.

Inheritance, Encapsulation, and Polymorphism are the three pillars of OOP and allows us to do some pretty cool things. Don’t believe me? I’ll show you after the break.

Continue reading