Reputation
223
Top tag
Next privilege 250 Rep.
View close votes
Badges
2 11
Impact
~10k people reached

Jul
29
comment At what point do immutable classes become a burden?
I see what you're saying, I just envision a problem with this because it doesn't lead a developer to "fall into the pit of success." The fact that it uses static variables means that if a Builder is reused, there is real risk of the thing happening that I mentioned. Someone might be building a lot of objects and decide that since most of the properties are the same, to simply reuse the Builder, and in fact, let's make it a global singleton that is dependency-injected! Whoops. Major bugs introduced. So I think this pattern of mixed instantiated vs. static is bad.
Jul
24
comment At what point do immutable classes become a burden?
I think that your builder being static is not correct. Another thread could change the static name or static value after you set those, but before you call newObject.
Jul
17
comment Why do C# developers newline opening brackets?
Please provide references for "... scientific studies showing that the brace on its own line ... ". Without at least two references (otherwise it would be study, not studies), it's just shooting randomly into the air.
Jun
17
comment Why do we need to put N before strings in Microsoft SQL Server?
N means National, as in "National Varying Character", see Equivalent ANSI SQL Data Types.
May
30
comment How can I work out how many IP addresses there are in a given range?
You're completely right!
May
29
comment How can I work out how many IP addresses there are in a given range?
I agree that the subnets determine how many truly usable IP addresses are in the range, however for the OP's purposes that's mostly irrelevant. Instead, he's trying to give an order of magnitude for how many raw IP addresses there are, for which the occasional broadcast and network address don't need to be removed.
Jun
20
comment Why is prefixing column names considered bad practice?
Underscores (compared to PascalCase) are one extra keystroke on a key far from the home row with the weakest finger. That's why I hate them. As for prefixes, how about the database I worked with where every foreign key had to be prefixed with frnkey?
Jun
20
comment Why is prefixing column names considered bad practice?
Definitely the first one... :)
May
30
comment What is the best retort to “premature optimization is the root of all evil”
@Peter I wondered about a root myself, which communicates the thought less ambiguously, though in my mind using the has nearly identical meaning in the same sentence.
May
29
comment What is the best retort to “premature optimization is the root of all evil”
@Peter I bet it's 'panta' which can be translated in different ways. Since your suggested translation is awkward and wooden, I doubt it is the best one. P.S. Second tagged names don't work.
May
28
comment What is the best retort to “premature optimization is the root of all evil”
@barrycarter I believe the most scholarly translation is "The love of money is the root of all kinds of evil."
May
5
comment Minimum billable time unit - industry standard for contract programming?
Thanks for the extra detail. This kind of longer engagement isn't quite what I had in mind, where one is hiring someone full time, but rather focused hiring to do a specific (and fairly small) job.
May
5
comment Crucial programming-for-hire contract points?
I can see how that would be important.
May
5
comment Minimum billable time unit - industry standard for contract programming?
And yes, it IS a learning experience. :)
May
5
comment Minimum billable time unit - industry standard for contract programming?
Well, due to our inexperience in hiring contractors, we weren't sure whether we got value for our money. A lot of ignorant people think $125/hr is exorbitant, but we know better. Except, we had some areas we weren't sure in. Anyway, an additional problem is that it's very hard to find people with the needed expertise. Several of us at the company actually do the same work but can only allocate a small amount of time to it due to our other responsibilities, and for certain I can say that this specialized knowledge is scarce.
May
4
comment Minimum billable time unit - industry standard for contract programming?
Do you put that you bill to the nearest half hour in your contracts? Does this mean rounding up always or ever rounding down? What if you really only spent 10 minutes on something, what would you bill?
May
4
comment Minimum billable time unit - industry standard for contract programming?
Even though you answered from the contractor perspective, your answer was helpful because our answer to the question "does it feel like this contractor wants a long term relationship with us or are they just trying to get as much money as they can?" is the latter. Which of course means it's time to cut things short.
May
4
comment Minimum billable time unit - industry standard for contract programming?
... and is responsible with his use of the time. It sounds like you've hit on a way to be more efficient and that is a good thing. However, I'm asking about industry standard practices based on actual experience with more than one contractor (yourself being one).
May
4
comment Minimum billable time unit - industry standard for contract programming?
Third, he has other clients and has made it clear he doesn't have full time to work on our project. So if he turns in one hour on each of three separate days, it was HIS decision to have "context switching" rather than just working for three hours on one day. I cannot accept that people padding their bill in this way is "just a fact of doing business." You might similarly argue that travel time from home to the office is part of "context switching" so we should pay for that too! Only charging in 4-hour increments is the privilege of any contractor, as long as he says so up front...
May
4
comment Minimum billable time unit - industry standard for contract programming?
Bogus. First of all, we are paying very close to standard contractor rates, which implies that we are hiring an expert. Second, context switching is NOT the client's problem, because the contractor is the one who is deciding when to do the work. He's already getting the huge amount of profit between his billable rate and what he's paying the junior. He doesn't get to pad the bill for coming up to speed to help out the junior, when if he'd done it himself he would have done it faster and had no context switching. That is an internal division-of-work issue that is HIS problem.