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... 更多内容 >>
Han Solo Revisited 13
- 类别:
- OOAD
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... 更多内容 >>
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: ... 更多内容 >>
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... 更多内容 >>
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.... 更多内容 >>
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.... 更多内容 >>
Han Solo was a good guy. He was however unfortunate at times.... 更多内容 >>
MATLAB, with its large collection of domain specific toolboxes, provides much more than a powerful environment for users to prototype algorithms. It offers the ability to build software products and services that scale gracefully from a single user/application to offering a service to an entire enterprise.... 更多内容 >>
Now that we have conquered inversion of control, we can explore a common application of the technique, dependency injection. Dependency injection utilizes the inversion of control to, with the aid of... 更多内容 >>
Arvind's recent posts have had me thinking. While the spellchecker he outlines is really just for illustrative purposes, its actually an example that is great to show the power, ease of use, and... 更多内容 >>