1,483 reputation
515
bio website
location United Kingdom
age
visits member for 4 years, 3 months
seen 8 hours ago

1d
revised Is it good practice to inherit from generic types?
added 1 character in body
1d
answered Is it good practice to inherit from generic types?
Dec
5
revised What naming Convention to Use for C# Function Parameters
added 2 characters in body
Nov
26
comment Should I accept empty collections in my methods that iterate over them?
Return "null" in most cases is worse then throwing a exception. However returning an empty collection is meaningful.
Nov
13
comment Why is the sudden increase in number of Git submitters on Debian popcon graph in 2010-01?
SVN was never a leading centralised VCS when it come to branching and merging. Hg and Git were the first open source VCS that cope well with branching and merging. I don't think centralised/distributed had that much to do with it.
Nov
2
comment Should a getter throw an exception if its object has invalid state?
@Rotem, normally a empty string is better then null, as it can be shown in a UI without getting errors.
Oct
3
answered Do we need to test 32-bit software in 64-bit Windows?
Sep
30
comment Is creating subclasses for specific instances a bad practice?
Maybe there was some behavior that was expected to be added to the sub classes that never made it into the code base yet, or is about to be added some someone elses next checkin.
Sep
27
answered Are long compiles a thing of the past?
Sep
14
comment Why do some languages round to the nearest EVEN integer?
@ratchetfreak, so it was easy for a clark to do by hand in the days before computers
Sep
10
awarded  Yearling
Aug
20
comment When is type testing OK?
@IanGoldby, I meant hidden in the sense that it can make the WPF or WinForms code harder to understand. I expect that for some web base UIs it would work very well.
Aug
19
comment When is type testing OK?
@IanGoldby, agreed at times it can be, however you are still doing "type testing", just hidden a bit.
Aug
19
comment Teaching programmer looking for a simple statically and weakly typed language
You can use Pascal instead of C++
Aug
19
revised When is type testing OK?
added 225 characters in body
Aug
19
answered When is type testing OK?
Aug
19
comment When is type testing OK?
@svidgen, It would then not be as clear that employeeRepository.getEmployeeById(empId) is expected to return an manager
Aug
4
comment When is it appropriate to do calculations in front-end?
@LieRyan, agree, but then you need to use 2 different unit test systems so a reason to keep calcs out of the front end unless they is a clear benefit of having them in the front end.
Aug
4
comment When is it appropriate to do calculations in front-end?
Automated Unit Testing will be easier if all logic is in the back end. If 90% has to be the back end and 10% can be in the back-end, then I would put 100% in the back end.
Jul
21
comment Why use getters only as opposed to marking things final?
A lot depend on if you are in control of all code that uses your class, and if you know the all client code will be recompiled when you class is changed.