Reputation
1,848
Top tag
Next privilege 2,000 Rep.
Edit questions and answers
Badges
1 11 19
Newest
 Yearling
Impact
~154k people reached

Jan
27
comment Is it normal for a company to have programmers on such a rigid schedule?
I would add that process-oriented companies likely start by being measurement-oriented. It's easier to measure adherence to process than to measure results. You can measure whether you deliver working software; but not whether you delivered it as fast as you could have, for instance. So companies gravitate toward process orientation because it's easy to measure whether someone shows up on time, estimates everything by story points, finishes at least X% of committed stories, etc.
Dec
18
comment How to refer to ByRef and ByVal in a dropdown label?
Also, you might consider radio buttons instead of dropdowns, given that there are so few choices.
Sep
29
awarded  Yearling
Aug
28
comment Why are deadlines always so short?
Parkinson's "Law" is always cited in these things. I can count on zero fingers the number of places I've worked or projects I've worked on where the deadlines were too generous. What happens instead is that the deadlines are set so tight that testing is truncated, and polish is cut completely...and by polish, I mean the attention to detail that makes an app enjoyable to use instead of tedious. Then the managers setting those tight deadlines blame the devs when the users hate the end result.
Aug
24
comment How can I manage trash users?
+1 for "Best you can probably do is not to bother." I've seen sites that don't bother. The rationale is that they don't have to deal with users who disappear for a few years, then suddenly come back on a whim and are irritated when their log-in info no longer works. By leaving the user names alone, you'll save yourself and your users some hassle. (Plus, StackOverflow seems to work fine without requiring unique user names.)
Aug
7
comment Are flag variables an absolute evil?
In recent versions of C# this can be mitigated because C# allows including the parameter name: var password = this.PasswordGenerator.Generate(uppercaseLetters: true, lowercaseLetters: true, digits: true [...etc.]
Aug
3
answered Is this OOP class hierarchy too deep?
Jun
26
comment Is it poor programming practice to pass parameters as Objects?
@bharal, well, if everything is typed as object, a cat is as valid to pass in as anything else.
Jun
26
comment How do you store “fuzzy dates” into a database?
+1: Another nice thing about this solution is you can then add display logic based on the value of date_created_accuracy field. You can show "May 1980" or just "1980" in the results or the UI if that's as accurate as the field indicates.
Jun
25
comment Why is Clean Code suggesting avoiding protected variables?
I think the emphasis is not on "protected" but on "variables". He's not saying you shouldn't use protected anything; he's saying to avoid protected variables. Variables don't have any validation built around them like methods or properties can. It's similar to why you shouldn't use public variables, which isn't to say you shouldn't use public methods or properties.
Jun
9
comment Clean Code comments vs class documentation
The XML comment documentation is good, but the comma splicing is terrible. Try this instead: "Retrieves a product by its id; returns null if no product was found."
Apr
17
comment Leaving intentional bugs in code for testers to find
That point about the spec in "Two" is an excellent analogy.
Apr
15
revised Is Agile the new micromanagement?
It's not a *dirty* implementation; it's just messed up.
Apr
8
comment NoSQL within SQL Server
Andy, here's an article on what you're going to be doing in the future if you stay: Bad CaRMa
Mar
23
comment BackgroundWorker vs. Async/Await
I don't see anything on that page indicating that BackgroundWorker, specifically, is recommended against.
Mar
9
revised What programming language generates fewest hard-to-find bugs?
Add explanation for * and a couple of explanatory quotes from the original source
Mar
8
comment Interview Question - Adding Method to interface that has been implemented by thousands of class
"Please don't add default methods of Java 8 in the answers." Oh really? And why not, exactly? Seems like this is exactly what Java 8's default methods were intended for. Do these bizarre brain-teasers really help find the best candidate, or just the candidate who's heard the brain-teaser before?
Mar
4
comment C# or .Net features to cut off assuming no backward compatibility needed?
When you just need to hack out a small desktop app, WPF is major overkill.
Mar
4
revised 2 methods that are 75% the same?
Fix typo
Feb
27
answered 2 methods that are 75% the same?