µObjects: Being Loosely Coupled

Loose coupling is about how much a class knows about the objects it's using. The less a class knows about the components it is using; the better the decoupling. Or they are loosely coupled. How do µObjects fair with being loosely coupled? That's what I want…

µObjects: Being Cohesive

Cohesion for objects is how well the behaviors in the class belong together. Some very non-cohesive behaviors would be multiplying two numbers and splitting a string. Multiplying and Raising to a power can be very cohesive behaviors. How do µObjects do cohesion? That's what this is about. The…

µObjects: Pizza Shop - Review

The Pizza Shop The Start [https://quinngil.com/2018/01/07/uobjects-pizza-shop/] More µObjects [https://quinngil.com/2018/01/08/uobjects-pizza-shop-uobjected/] New Requirements [https://quinngil.com/2018/01/09/uobjects-pizza-shop-new-reqs/] Calzoned [https://quinngil.com/2018/01/10/uobjects-pizza-shop-calzoned/] The Final [https://quinngil.com/2018/01/11/uobjects-pizza-shop-final-changes/] I started the…

µObjects: Pizza Shop - Final Changes

These are the final changes for our Pizza Shop. I think a few will be interesting to implement; but nothing stands out as a "how would I...?". µObjects make it very simple and quick to get new functionality in cleanly. One of the changes is the ability to…

µObjects: Pizza Shop - Calzoned!

The pizza shop is expanding it's offerings! CALZONES! We'll do a 1/2 calzone and a full calzone! $8 and $14 respectively. Based on how we did the Medium pizza last time... Not expecting much work for these. Which... THAT'S THE POINT! µObjects make…

My Thoughts: Unit Test - Examples

I got a tweet from boltyk [https://twitter.com/boltyk] on twitter asking about a post on types of unit tests. > https://t.co/bSV7nDcQ4O @TheQuinnGil [https://twitter.com/TheQuinnGil?ref_src=twsrc%5Etfw] I think I have all kind of unit test levels you described, but can you…

µObjects: Pizza Shop new Reqs

Pizza's going great! We've got our system in place; we've cleaned up our code! We have µObjects everywhere! In my ideal; there aren't enough tests. All behavior is still covered; test coverage is at 100% for everything except our Money object. Which…

µObjects: Pizza Shop - More µObjects

We return to our pizza shop to refactor. I like to check out my "TODO" or "Smelly" comments and see what I can clean up. I normally go for "TODO" as most tools have a way to list them for easy access. Visual Studio…