3,307 reputation
719
bio website
location Longmeadow, MA
age 45
visits member for 3 years, 11 months
seen May 22 at 20:26

Code Monkey + Application Designer

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


May
22
answered DLL or web service for common functions?
May
18
awarded  Tenacious
May
15
comment How to represent a Model with a 1:N relation?
I would go HardwareID as opposed by HId just in case there is another table that starts with an 'H'.
May
13
comment Cons of using unconstrained frameworks for unit testing
@Regerio - I concur with your comment(s).
May
12
answered Tracing an object
May
11
comment Why is iterating through List<T> more expensive than iterating through Array in .NET?
Most likely because an array uses the length of the array and an index to loop through the elements and a list uses an Enumerator which has to maintain state and check whether it can move to the next element.
May
8
comment Cons of using unconstrained frameworks for unit testing
Or inject those static dependencies and mock them yourself. If you need an unconstrained framework to do unit testing, then yes, your code needs refactoring to eliminate those statics with side effects.
May
8
comment Cons of using unconstrained frameworks for unit testing
In my opinion, there is no difference (contrained/unconstrained) other than the amount of mocking features (what it can mock). If you have static methods and you need to mock them, then you will need a unconstrained framework to do that.
May
8
answered SQL - Designing a Threshold value table
May
8
comment Cons of using unconstrained frameworks for unit testing
@Greg, please see answer below on why mocking DateTime.Now is necessary. I've included you questions in the answer as well.
May
8
answered Cons of using unconstrained frameworks for unit testing
May
7
answered How to know if an app is launched in windows service application
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