Archive for December, 2010

How to Write a Repository

Out of the supporting Patterns catalogued by Eric Evans, the Repository patterns is probably the most popular.
Persistence has been a hot topic in software development for a long time. The main problem is that the most popular approach for software development these days, Object-Orientation, doesn’t really map easily to efficient external storage systems like relational […]

Expressiveness Omnibus

Recently a friend discovered this blog. She asked me why do I write so much about Expressive Design. This is not the first time I’m asked this so I decided to write down my answer. I will try to give some overview of the topic and link to the many articles in this blog about […]

One Mock Per Test Considered Not Awesome

For some reason I came across a rule of thumb that says something like:

You should have only one mock per test; all other interactions must be stubbed.

That sounds like good advice but it’s not. This rule of thumb doesn’t really help writing good tests and it can easily lead to testing the wrong thing.
I’m not […]




About

You are currently browsing the PhilCalcado.com weblog archives for the month December, 2010.

Longer entries are truncated. Click the headline of an entry to read it in its entirety.





Creative Commons License

This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.