2,608 reputation
1614
bio website
location
age 26
visits member for 3 years, 2 months
seen Oct 23 at 8:40

Software engineer from the UK


Oct
22
comment Use a service layer with MVC
AutoMapper comes with a built-in unit testing functionality which allows you to verify all your mapping routines with one line. Author of this post did not mention that.
Sep
24
awarded  Autobiographer
Sep
19
awarded  Yearling
Sep
3
awarded  Necromancer
May
8
reviewed Approve suggested edit on MVC: my controller seems useless half of the time. Is this a problem?
May
8
comment Can manager classes be a sign of bad architecture?
Managers often have a lot of power (responsibilities) and they can be a pain to deal with - just like in any office environment ;) EventManager means nothing. EventDispatcher describes what it does.
May
6
reviewed Approve suggested edit on What does it mean when data is scalar?
May
6
answered Why does TDD work?
May
1
comment How to pick the testing values for parameterized tests for stateless functions?
Some of the frameworks out there allow you to specify multiple inputs for the same test. nunit.org/index.php?p=values&r=2.5
May
1
comment Design review: how well does my object oriented design fit the SOLID principles?
Surely you are missing an instrument for playing melodies. Note shouldn't be playing itself.
May
1
comment How to (or should I) have one assert per test with object comparisons?
Nothing is stopping you from wrapping your assertions into a method.
Apr
29
comment What is the Loopback Pattern?
Mock is a proxy that is able to fail a test, as opposed to a stub that cannot fail a test. Mock also tracks its own interactions. For example, when I call a mocked object's method, the call gets tracked so that later I can verify that I called the method so many times.
Apr
29
revised Exception when logging exception: is it correct to ignore them?
added 257 characters in body
Apr
29
answered Exception when logging exception: is it correct to ignore them?
Apr
29
answered Acceptable placement of the composition root using dependency injection (DI) and inversion of control (IoC) containers
Apr
28
answered In event sourcing, is it ok to introduce a dependency in my message class?
Apr
24
reviewed Approve suggested edit on How can I explain object-oriented programming to someone who's only coded in Fortran 77?
Apr
24
comment Organising models in ASP.NET MVC
-1 You can have the same view model utilised in different views. For example, you might have a SelectRecipientViewModel - view model for selecting a recipient. Now you might have two ways of selecting recipients, so you'd have two views making a use of the same view model. It's common for clients asking for the same functionality but presented in a slightly different way.
Apr
24
reviewed Approve suggested edit on Class Design and Separation Of Concerns
Apr
23
reviewed Approve suggested edit on Poker software architecture