Developer Zone

Advanced Software Development with MATLAB

Results for: OOAD

Han Solo Revisited 13

A long time ago in a blog post far, far away… Andy wrote about Han Solo Encapsulation – to keep Jabba’s “system working as designed he needed to encapsulate his system behind... read more >>

You’ve Got Mail 7

Let’s send some emails!Imagine you write a function that sends an email to a customer. Your initial function call might look like this: ... read more >>

The Gift of Property Cheer 5

Well, it's that time of year, Christmas, Hanukkah, Kwanzaa, Ramadan, Winter Solstice, or you know.......Friday. You deserve the gift of a blog post. Here's a nugget of object oriented goodness in... read more >>

Properties of properties 8

A while ago we discussed a good reason to appreciate and use MATLAB's model for properties. It had to do with encapsulation if you remember, and we discussed how MATLAB's properties are inherently encapsulated, preventing the need to write a bunch of boiler plate setters and getters.... read more >>

Throwback Thursday: Remembering the olden times 1

You may have heard some buzz lately about how MATLAB Central is celebrating its quinceañera. Indeed the event is worth a fiery fiesta, and you should definitely check out all of the activities MATLAB Central is hosting to celebrate. There are games, prizes, and all sorts of shenanigans to procrastinate with. You only get one 15 year birthday, and we are trying to make it a good time.... read more >>

Encapsulated Sugar 7

Han Solo was a good guy. He was however unfortunate at times.... read more >>

Mix It Up and Mix It In 8

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... read more >>

The Diamond of Breadth 2

Sometimes, Java® bugs me.Don't get me wrong, in many ways it is a beautiful language full of elegant structure and all the tools you need to help drive robust architectures. However, the flipside... read more >>

Compose Yourself 11

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... read more >>

Don’t Get In Too Deep 13

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 >>