Official 2UP Media Blog

Musings of Software Architect Jorge Colon

We Don’t Have Time to Write Tests, We’ll Lose Opportunities

There’s the common misconception that if you write tests you’ll be wasting time, time that you could spend on fixing bugs and creating features. Either that or your spending a lot of time and money on tests and not enough time on actual features. This is a false dichotomy…

Build It and They Will Come?

See there was a time in US history where you could just pop up a brick and mortar store and people would just come: “Build it and they will come”. That may have worked in the infancy of commercial demand and supply, but we now live in the 21st century. Things have changed.

We live in an era where plenty have miraculously went from rags to riches based on an idea. The Internet has been the medium to allow that to happen. With very little money and just sweat equity, people have created something out of nothing and reaped the financial rewards. The question is, is it as simple as, “Build it and they will come”?

Just look at the advances in technology in regards to smartphones…

Should We TDD Our Legacy Application?

There’s a lot of talk around TDD. Heated debates have split people into pro and against groups. The question is, should we TDD for our legacy application?

I like to think TDD is just another tool, a means to an end. Does it make sense to fit a square peg in a round hole? No. At least I don’t think that’s the most efficient use of my time and energy.

When I hear TDD, I first think of Red, Green, Refactor unit tests. I think most of us are trained to think that way. You write your tests first that fail before any code is written. Then you write some code that works which make your tests return true. Then you refactor your tests to make the code cleaner.

There’s a whole idea of your tests helping “drive” your design. TDD is in fact Test Driven Development. It’s often said if you do it this way your components are usually more…