3,204 reputation
619
bio website
location Longmeadow, MA
age 45
visits member for 3 years, 10 months
seen 31 mins ago

Code Monkey + Application Designer

I like to make and design things that are easy to use and maintain which make people happy.


1h
answered Interface naming, IAm, ICan, I<something>
Apr
27
comment How much refactoring is acceptable?
Good answer but, "go on refactoring indefinitely because there is no perfect codebase"...I don't think that is a fair statement. At some point there will be no ROI on refactoring. If all your code is SOLID and the code metrics look great, then it's time to stop refactoring.
Apr
27
answered How much refactoring is acceptable?
Apr
24
answered How to monitor a long-running program programmatically
Apr
23
answered filtering data from db
Apr
20
revised Understanding VB.NET variable scope
deleted 166 characters in body
Apr
20
comment Understanding VB.NET variable scope
@supercat - It was a design decision...social.msdn.microsoft.com/Forums/en-US/…
Apr
20
revised Understanding VB.NET variable scope
added 547 characters in body
Apr
20
answered Understanding VB.NET variable scope
Apr
9
comment What's a reasonable limit for email confirmation re-sends?
@AjCodez - Correct. Attempt delivery, if failed mark as failed and then some sort of manual followup.
Apr
8
answered What's a reasonable limit for email confirmation re-sends?
Apr
2
comment Is it a bad practice to separate the unit tests for a class?
This is excellent advice, but is not an answer to the question. (Still upvoted)
Apr
2
answered Is it a bad practice to separate the unit tests for a class?
Mar
25
revised Unit Testing and dependencies
added 137 characters in body
Mar
25
comment Unit Testing and dependencies
@guillaume31 Factory allows other type of implementations to be created. Your right in this case, not much use here. But, in most cases, the factory would return multiple implementations. Consider a case where you have a performance environment, you might have an fake implementation to avoid the 3rd party callouts and the factory would be driven by sort of configuration value passed to it.
Mar
25
comment Unit Testing and dependencies
I've added the tests for testing generic lookup class using the mock repositories which allows to test GenericLookup in isolation. The real client would call repository factory which would instantiate the real repository. Hope that helps.
Mar
25
revised Unit Testing and dependencies
added 3927 characters in body
Mar
25
answered Unit Testing and dependencies
Mar
11
comment How would you design a user database with custom fields
@Andy - True, there is a another layer. Query DB and parse XML as opposed to just query DB. I don't know if I would call it limiting, just more cumbersome. But, it would would something to consider if the custom attributes were used extensively.
Mar
11
answered How would you design a user database with custom fields