Developer Zone

Advanced Software Development with MATLAB

Tear Down This Wall! 4

Posted by Andy Campbell,

I once faced a question from a friend who was perusing MATLAB documentation while implementing a test suite for some production software and found an example test which used the addTeardown method of the TestCase object. This person found themselves wondering why they might want to use it to... read more >>

Mix It Up and Mix It In 8

Posted by Andy Campbell,

What can we learn about software from an ice cream shop? Quite a bit apparently. It was in the early 70's that Steve's Ice Cream opened and introduced the world to the notion of mix-ins. The idea was simple but powerful. Lets produce a small amount of base ice cream... read more >>

Compose Yourself 11

Posted by Andy Campbell,

Last time we had a small discussion about the merits of keeping inheritance hierarchies shallow and avoiding the creation of deep, multi-level structures. This is all fine and dandy, but how do we actually achieve this end? After all, many people are keenly aware of the DRY principle whether by... read more >>

Don’t Get In Too Deep 13

Posted by Andy Campbell,

The conventional wisdom these days seems to be that it is better to go deep, not wide. Whether this is in education, marketing, or general approaches to focused living, there seems to be an theme these days that if you favor breadth over depth the result will be shallow, without substance, and spread thin. The generalist it seems has seen better days in the court of public opinion. Is that true in life? I dunno, perhaps.... read more >>

Encouragingly Parallel (Epilogue) 3

Posted by Andy Campbell,

OK, so remember how we just went through the exercise (not just once, but twice) of how you can write a function to help parallelize your test runs? Well all of that still applies if you have not yet upgraded to MATLAB R2015a. However, if you do have R2015a you now get this out of the box because the TestRunner now has a runInParallel method!... read more >>

Encouragingly Parallel 5

Posted by Andy Campbell,

When I am neck deep in hardcore TDD Red-Green-Refactor cycles I am constantly looking for ways to ensure that my feedback loop is as quick as possible. If the testing feedback takes too long I am liable to start daydreaming and I lose my context in the design process (because... read more >>

At Strata + Hadoop World? Come say hi!

Posted by Andy Campbell,

Are you in San Jose this week processing all the big data at Strata + Hadoop World conference? Come by and say hi to my fellow MathWorkers at the MathWorks booth.... read more >>

Global In Global Out 3

Posted by Andy Campbell,

Over the past couple years at MathWorks we have been transitioning from a legacy procedural testing framework to what is now MATLAB's native unit test framework. It has been great to see the internal adoption rate of this framework increase steadily as more teams begin to see and utilize its... read more >>

These postings are the author's and don't necessarily represent the opinions of MathWorks.