Comments on the MVC Music Store

time to read 2 min | 227 words

There is a new sample out, and I thought that I’ll give it a look.

This is just ugly, no two way about it. If you want to make them the default, it would be better to put them in the default constructor.

image

But this is more disturbing, to be perfectly frank:

image

What we see here is a return to Component Oriented Software and entities that are nothing but a data bags to be manipulated stateless business objects. I thought that we moved past this sort of architecture.

image

The meaningful error handling will surely make the application easy to understand and debug. The user will also be able to provide meaningful error information easily, no doubt.

 image

Here is an idea, if you intend to make something easy to unit test, how about… having any unit tests?