1,422 reputation
412
bio website
location
age
visits member for 2 years, 6 months
seen Nov 20 at 21:48

Jul
17
answered Post-hoc testing in TDD recommended?
Jul
15
answered Visual Studio extension to highlight code reuse?
Jul
13
answered Domain integrity check in application
Jul
12
answered How should I encapsulate database access?
Jul
12
awarded  Enthusiast
Jul
11
comment Storing IEnumerable as instance variable - is it a code smell to expect it to change?
Returning the list as IEnumerable is separating code through interfaces, which is always a big plus for me.
Jul
10
revised What if globals make sense?
added 20 characters in body
Jul
10
revised What if globals make sense?
added 1317 characters in body
Jul
10
comment What if globals make sense?
In the example I gave the singleton only existed in one area of the code, the service layer. All other layers accepted it as a parameter, which allows the code to be decoupled. The other layers do not care how the object was instantiated, all it cares about is that it was instantiated at some point. If other areas of the service layer need it they can certainly use it, but when passed to the other layers of the application it would be seen as any other variable. However if other layers change it then a singleton could end up being a large headache, and code should be in place to prevent it
Jul
10
answered What if globals make sense?
Jul
9
comment Automated tests for differencing algorithm
Automated tests typically deal with static data. If your source text is static, and your modified copy is static, shouldn't the end result always be the same?
Jul
9
answered Is it normal for a software developer to have lots of issues after product went live?
Jul
7
answered Working environment
Jul
7
awarded  Scholar
Jul
7
accepted Unit testing multiple conditions in an IF statement
Jul
6
asked Unit testing multiple conditions in an IF statement
Jul
6
answered Why do we need to put N before strings in Microsoft SQL Server?
Jul
3
awarded  Student
Jul
3
asked Keep coding the wrong way to remain consistent?
Jul
2
awarded  Analytical