Unit test checkboxesIn my third of three related postings on some core programming principles, I’ll be talking about unit testing.  In the first part, we discussed code reuse, and in the second, I went over version control.

Unit testing is a methodology by which you run tests on individual bits of your programming code.  I have to admit that this is the topic of the three with which I am the least familiar.  The concept of “testing” in my past jobs has largely been comprised of this:

  • Write your program
  • Test it out as thoroughly as you can when done
  • Turn it over to a user for them to test thoroughly.

This is actually a very broad generalization, and I would, in fact, test out bits of code that I wrote as I wrote them, making sure that functions returned the desired results before I was anywhere near to having a final product.  While this is a step in the right direction towards unit testing, it is no means formal unit testing. (more…)

Tagged with:
 

Version ControlIn my last posting, I talked about the benefits of code reuse and how any good programmer should swear by that coding principle.  Today, I move on to another key programming methodology, that of version control.

Version control (revision control, source control, or any of a number of other similar names) is a method for archiving and documenting changes to programming code, web pages, XML files, and, frankly, any other type of file of which you might want to store multiple versions in one centralized location.  A benefit of this is that multiple programmers can work on the same code base without interfering with each other, and that you can easily track or back out changes to a file and go back to an earlier version, should a new change cause problems. (more…)

Tagged with:
 

How NOT to do software versioning

Inadvertently, I recently came across a software product that seemed rather odd to me.  It, in turn, also led me to a web site that I thought would work great for a quick web design lesson, but we’ll get to in my next posting.

Before I delve into what struck me as odd regarding this software, though, let me first point out that I in no way endorse this product, nor am I implying that it’s bad.  Frankly, I don’t have a use for it and don’t plan to test it out. In fact, it may actually be the best thing since Windows XP/Windows 7/Mac OS X (circle one).  That’s none of my concern, and I want to make it clear up front that this is not a review or critique of the actual software being discussed. In fact, I’m actually going to be focusing more on the advertising of said product.

So, what exactly is it that caught my eye?  I was looking at a page on Stack Overflow and noticed this ad at the top of the page:

Studio Enterprise ad

The noteworthy ad

(more…)

Tagged with: