Reputation
2,983
Top tag
Next privilege 3,000 Rep.
Cast close & reopen votes
Badges
8 20
Newest
 Excavator
Impact
~200k people reached

Jan
10
comment Why would a program require a specific minimum number of CPU cores?
That is why good spinlocks downgrade to other lock types after a small time, and even better ones do so very quicker if past usages of the same lock have had to downgrade.
Dec
31
comment What is different between the internal design of Java and C++ that lets C++ have multiple inheritance?
That answer talks about the risks of the “foot gun" with multiple inheritance, it was also a real issue that at the time that no one know a good way to implement it with run time loading of classes.
Dec
31
answered What is different between the internal design of Java and C++ that lets C++ have multiple inheritance?
Dec
30
comment If MVC is “Separation of Concerns” then why was Razor Syntax introduced?
@Oded, what makes you thing that all clients will have Javascript? Also given that dates need to be formatted in emails and reports, is it not better to use the same code in all of the cases?
Dec
17
revised Is it good practice to inherit from generic types?
added 1 character in body
Dec
17
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
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