user avatar
user avatar
user avatar
Benjamin Hodgson
  • Member for 8 years, 9 months
  • Last seen more than a month ago
78 votes
Accepted

When should I use event-based programming?

46 votes
Accepted

What's the tradeoff for type inference?

32 votes
Accepted

Is it possible to "bake dimension into a type" in haskell?

15 votes

This way I'm writing this code is testable, but is there something wrong with it I'm missing?

11 votes

How should I unit test mathematical formulae?

9 votes
Accepted

Why isn't Bounded a subclass of Enum in Haskell

9 votes
Accepted

Value Object: static factory or assisted injection?

8 votes

Is there a better way of writing unit tests than a series of 'AssertEquals'?

7 votes
Accepted

My architecture has a problem with views that required information from different objects. How can I solve this?

6 votes
Accepted

How to design a domain entity that uses a dependency to manage a state field?

6 votes
Accepted

What is a good design for a method that can return several logically different results?

4 votes

What complexity do DI frameworks add?

4 votes

Repository pattern implementation that knows nothing about the database table and column names

4 votes

Where should I put bindings for dependency injection?

3 votes
Accepted

DRY code, DRY tests?

2 votes

What is the most appropriate testing method in this scenario?

2 votes

Should we avoid using design patterns in constantly changing projects?

2 votes

Behavior Driven Development and Unit Testing in Python

2 votes

Lambda expressions with no parameters in Haskell and / or lambda calculus

2 votes

Determining a class structure

1 vote
Accepted

Should I use a class as a wrapper?

1 vote
Accepted

Does dynamically generating classes in python affect readability/performance?

1 vote

Setting fields of a base class when using the constructor is not an option

1 vote

MVC pattern synchronisation

1 vote

Is it ok to write "extra" unit tests?

1 vote

Does this factory method pattern example violate open-close?

1 vote

Which do you code first, MVC?

1 vote

"Collection Wrapper" pattern - is this common?

0 votes

Is this a pattern: stand-alone classes

-1 votes

Domain model associations that do not required the behaviour of the associated object. How to model?