MATLAB

Code

Running my own software company, I run into people trying to solve all kinds of different problems with software. As such, I end up using a variety of different technologies, languages, platforms, and frameworks. Recently, a client project required me to download MATLAB in order to experiment with several existing toolkits needed for the R&D phase of the project. The first thing I noticed was the price tag. Today, the overwhelming majority of development environments are free. However, MATLAB carries a hefty price tag of $800/year for commercial customers. After installing the application, I found out that the plugins (called toolboxes) averaged an additional $500/year. All told, this development environment was going to cost me around $3000/year after all necessary plugins were purchased.

Is It Worth It?

Seeing that MATLAB is so expensive, and so highly regarded by many in the research and academic community, I assumed that the MATLAB user experience was going to be epic! How wrong I was. The code I was examining contained dozens of files across numerous folders. Of course, this isn’t abnormal for any large project and I expect any decent IDE to be able to handle it. Any IDE except MATLAB. Need to find where a function is defined? Don’t expect any tools in MATLAB to accomplish that! Of course, you can do a find in files for all references of a string, but that’s not particularly helpful when a function is called dozens of times or has a short name. How about displaying a call hierarchy so that you can see where functions are being called? Nope – that’s not possible either. Ever aspect of the IDE proved to be well below what was commonly available in other IDEs.

If you’re not intersected in the user experience, I guess MATLAB is great. Apparently, its ability to perform all kinds of mathematical wizardry is beyond compare. It’s great for solving linear algebra problems and other advanced math tasks. Unfortunately, I wasn’t interested in that.

Open Source Code

I managed to find several open source projects and toolboxes for MATLAB. I was interested in understanding how these particular toolboxes work, so I started examining the code. MATLAB, like so many other languages, is a weakly-typed language. While weakly-typed languages do offer many benefits, readability is rarely one of them. MATLAB also does not require variables to be defined before use. This can be very difficult to follow particularly when the bulk of the code I saw contained neither useful variable names nor adequate comments to understand what’s going on. Very typical of people without a development background.

Conclusion

I was very disappointed with everything I saw in the MATLAB community. I assume most of the users are mathematicians and have no idea the kinds of features that are available in modern environments, so they have no idea what they’re missing. Likewise, I assume they’re used to digging through poorly documented code with variable names like g, f, c, and y. For me as a developer, this is neither acceptable nor maintainable long-term. For number crunching, I much prefer R. It may not have the most advanced IDE, but it doesn’t set me back anything either!

Value & Time

Growth

When we think about value, we think about the cost we pay for something. However, that’s a very shortsighted definition. We probably only consider cost as defining value because most of the things we buy are defined this way. For instance, when we go to a grocery store, we look at two brands of cheese, and the cheaper one is the better value. It doesn’t matter much which is the better quality cheese, it simply matters which is the cheaper cheese. As consumers, we typically only consider the cost. To me, the definition of value is far more complicated.

Buying Vacuum Cleaners

Twenty years ago, when I would buy a vacuum cleaner, I only considered cost when purchasing. The cheapest vacuum was the best value and the one I would purchase. But time and time again, I found that my value vacuum cleaner would stop working after about a year. So, I’d go back to the store and buy another one. I was paying about $100 per year to purchase vacuum cleaners. Note that now my value definition has a time element. After several years, I considered buying a Dyson vacuum cleaner. It was four times as expensive, but I had hoped it would do a better job than the $100 vacuum cleaners and that it would last longer. And today, 15 years later, I still have that same Dyson vacuum cleaner. If it were to break today, I would have spent $400 over 15 years for my vacuum. That’s a substantially better value than before!

Value of Technology

The cost of computer technology is very similar. You can buy the $300 laptop and expect to replace it next year, or you can buy a MacBook and have it for 10 years. But custom software is a little more difficult to directly compare since the price tag isn’t as clearly defined. What I’ve found is that when customers purchase consulting services or software development services based solely on the cost of those services, they often find that the price tag explodes over the lifespan of the product due to poor development. When you find the developer with the lowest cost, he probably has the least experience. He will take longer to accomplish the work since he’s bound to run into more snags than an experienced developer. He’s also likely to overlook things that a senior developer wouldn’t. These issues will result in additional costs during the lifetime of the application to fix in addition to lost time and productivity from your software users.

Conclusion

Paying for custom technology services is more like buying a vacuum than it is purchasing a block of cheese from the grocery store. The true value of those technology services will be defined not by cost alone, but by how long those services solve your technology problems.