Reputation
2,485
Top tag
Next privilege 2,500 Rep.
Create tag synonyms
Badges
6 10
Newest
 Yearling
Impact
~54k people reached

  • 0 posts edited
  • 0 helpful flags
  • 86 votes cast
Dec
15
awarded  Yearling
Nov
17
comment Almost every reported bug is a high-priority bug
@MichaelT +1 for mentioning ROI as the ultimate guide. Just because a bug royally pisses off a particular user, it doesn't necessarily follow that there is any case for fixing it at all (given that there's always more than enough work to be doing)
Sep
15
answered Where are octals useful?
Jul
8
answered How probability function is computed for the game Battleships?
Jun
25
comment What can multiple threads do that a single thread cannot?
Race conditions?
Jun
22
comment Simple and clean way of comparing three numbers
@DocBrown My bad, the tag didn't register in my head.
Jun
22
comment Simple and clean way of comparing three numbers
Or instead of holding two arrays, hold one array of key-value-pairs: { MOSTLY_A, countAs() }, take the first element ordered by value and read off the key.
Jun
1
answered Is it a good practice to wrap all primitives and Strings?
May
21
comment Should I tell someone that their commit caused a regression?
In a good shop, most regression bugs are caught by automated tests - in which case the culprit should be aware anyway due to an automated email. Those that slip through are unlikely to have arisen from a single person's failure - the code may be buggy but also the tests could be better, the code reviewers missed something, etc. etc. If you are in such a shop, follow the answers below and tread very carefully. In a bad shop, save your energy for improving the system to catch more regressions early.
May
6
comment A CLR SQL Server Stored Procedure calling an ASP.NET Web API
Sounds like a horrible violation of SRP. What triggers the stored proc, and why can that not look after calling other APIs?
May
1
comment Is 100% code coverage a pipe dream?
+1 for Andrea - also code coverage from unit tests is orthogonal to race conditions and cross-thread pollution, UI bugs, and mismatches between what the code does and what the users expect. The effort spent squeezing out the last few % of coverage could probably be spent better elsewhere.
Apr
30
comment How to make people new to programming stop asking me questions and distracting me?
Mail them lmgtfy links beyond the point where the joke wears off.
Apr
8
answered Why are my unit tests so expensive?
Mar
26
awarded  Custodian
Mar
26
reviewed Reject Why does the boolean type in C++ support ++ but not --?
Mar
16
comment Naming conventions for instance, local and parameter variables
The prefixes duplicate information that is already contained in the code and displayed in any half-decent environment. And as we all know, duplicate information can become inconsistent. DRY should point you towards not using the prefixes.
Mar
10
comment When do programmers use code first approach?
This just reads like a rant along the lines of "code-first isn't doing it properly".
Mar
9
comment Robot in a grid
Aha, thanks! (Though I have seen too many interview candidates fail questions that trivial...)
Mar
9
comment Robot in a grid
Am I reading it wrongly? When you change j (move down) you do it by i not by 1. Therefore the number of down steps you need depends on how many rightward (increasing i) steps you have taken and where in the sequence they happened.
Mar
6
comment How to organize code which converts from one type to another
If you use parameterised queries in general, why develop an exception specifically for date ranges? Is there some problem passing range_start and range_end as separate parameters?