Reputation
1,647
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
8 16
Impact
~44k people reached

  • 0 posts edited
  • 0 helpful flags
  • 183 votes cast
Apr
11
comment MVC - Database search logic in View or Model
Check out this talk by Uncle Bob: vimeo.com/43612849
Mar
10
comment Is a big boolean expression more readable than the same expression broken down into predicate methods?
@gnasher729 I believe that was undoing certain things that weren't "paying for themselves" or whatever. If anyone cares they can read the book and come up with a third translation.
Mar
9
comment Word to unambiguously represent data used at the input to a template?
There's also the concept of mail merge fields. Maybe merge data?
Mar
9
comment Is a big boolean expression more readable than the same expression broken down into predicate methods?
Option 2 is similar to what Martin Fowler recommends in his refactoring book. Plus your method names serve as the intent of all the random expressions, the content of the methods are just the implementation details that could change over time.
Jan
8
comment What is a Collection of Aggregates Referred to in Domain Driven Design?
Is BoundedContext what you're looking for? martinfowler.com/bliki/BoundedContext.html
Oct
27
comment Lookup Tables: Are they a leak in the domain model?
yes it performs a query. Take a look at developerhandbook.com/c-sharp/t4-templates-for-lookup-tables and erraticdev.blogspot.com/2011/01/…
Oct
27
comment Lookup Tables: Are they a leak in the domain model?
I prefer to have lookup tables in the database and have code (T4 templates in .NET) that generates the enums for me based on the lookup tables in my application code.
Aug
12
awarded  Notable Question
Jul
30
comment Replacing C with JavaScript as an introductory programming language
+1 for C# over JS. It's a no-brainer since C# is consistent and has the excellent free dev tools.
Jul
14
awarded  Guru
May
16
awarded  Yearling
Apr
30
comment Sharing core repository and object mapping logic between Unit of Work methods
Thanks for pointing the problem with thread safety out! The reason I made the repos properties on the class was to eventually unit test the service, thanks for recommending the use of a factory for that.
Apr
30
accepted Sharing core repository and object mapping logic between Unit of Work methods
Apr
29
asked Sharing core repository and object mapping logic between Unit of Work methods
Apr
28
awarded  Popular Question
Jan
12
awarded  Good Answer
Jul
2
awarded  Curious
May
16
awarded  Yearling
Feb
22
awarded  Popular Question
Jan
6
awarded  Popular Question