Reputation
636
Top tag
Next privilege 1,000 Rep.
See votes, expandable usercard
Badges
4 11
Newest
 Pundit
Impact
~14k people reached

Sep
29
answered Is creating subclasses for specific instances a bad practice?
Sep
27
comment Are long compiles a thing of the past?
not just test suites - code coverage analysis, automated packaging, automated deploys to the test system; there's a lot of things wrapped into an integrated build system these days. And if you're on hold until it gets to the dev or qa environment, you certainly have time for a little chair jousting.
Aug
29
comment Why have private static methods?
That's an interesting problem to say the least, but I don't see how it being static makes it any more of a problem than not being static, which is key to this issue. If we follow your logic, everything everywhere would reimplement everything because "omg, what if there's a bug or requirements change someday?"
Aug
27
comment Addressing the fact that primary keys are not part of your business domain
So when you say no business meaning... let's say you have the Order table. When I print a receipt, are you saying if that OrderID value is printed on that record that it's bad? If it's bad, what would you recommend?
Jul
24
comment Why is polling accepted in web programming?
This, a thousand times this. It's accepted because it's usually good enough.
Jul
24
comment Why is polling accepted in web programming?
Longpolling is not without drawbacks. Some IaaS services only permit one simultaneous connection per node. To scale to n users with longpolling, you'd need n nodes.
Jul
22
comment How should I remember what I was doing and why on a project three months back?
@ratchetfreak I was about to say "That's only useful for developers" until I realized that you can apply the same principle to anything. Most document repositories have a notes section or a description; deliverables over email have message bodies (often ignored). Documents can have tracked changes and annotations. There's a whole ecosystem of comments and commit messages in the PM world too! </epiphany>
Jul
21
comment Is it a bad practice to give two very different files with the same general purpose the same name?
Using more descriptive names can be rather annoying though... when you get some_super_long_descriptor_that_needs_more_description.js to set it apart from some_super_long_descriptor_that_needs_more_cowbell.js
Jul
18
comment Should we avoid using design patterns in constantly changing projects?
I read this as "Should we avoid performing time-saving activities in a time constrained environment?"
Jul
15
comment Started wrong with a project. Should I start over?
You're wrong on a couple of accounts. I didn't have a good one, and he was a programmer (although he got his start in Heathkit microcontrollers. Not putting them together, but working at Heathkit designing them.) You're right on the p.eng. designation, though, because the industry has decided that "programmer" and "software engineer" are the same things, despite the fact that they're very, very different.
Jul
15
comment Absolute statements in IT that are wrong
"A good programmer will not be lulled into complacency by such reasoning..." can be generalized to "A good ___________ will not be lulled into complacency"
Jul
15
comment Started wrong with a project. Should I start over?
My father used to tell me "Sometimes you have to shoot the engineers and ship."
Jul
10
comment My father is a doctor. He is insisting on writing a database to store non-critical patient information, with no programming background
@thorstenmüller as an expert on such things, it's definitely cancer, and it's not lupis. That will be $200.
Jul
10
comment How to update a row in database without ID?
If I had a dollar for every int id in my hibernate classes, I could take a small development team out for a nice dinner.
Jul
9
comment Is this a good practice or not?
I confess I didn't follow exactly what was going on, but I'll leave a small piece of advice: if you can't sum up what you're doing in a sentence for purposes of a title and just have to put "this", it's probably not a good practice.
Jun
24
comment Is template “metaprogramming” in Java a good idea?
Robert's comment cannot be overstated. Any time you have a "disclaimer explaining not to modify a file" that is a the "technical debt" equivalent of a check-cashing store run by an illegal bookie nicknamed "Shark".
Jun
18
comment Why was C# made with “new” and “virtual+override” keywords unlike Java?
@Doval objects should be open to extension - they really shouldn't be made sealed by default. With the introduction of the @Override annotation you get a warning if you override something but didn't annotate it as such (and you can make your compiler escalate this warning to an error), and you get an error if you have an @Override annotation but don't actually override. This allows the base developer to make his class open to being overriden (good) and gives the other developer immediate feedback as to if he needs to investigate further. It's win-win.
Jun
17
comment What can multiple threads do that a single thread cannot?
If the universe is single threaded, then what is string theory? You can't argue with science like this.
Jun
17
comment Are there deprecated practices for multithread and multiprocessor programming that I should no longer use?
I wish you highlighted how important it is to not roll your own structures when ones already exist. So many, so many bugs...
Jun
17
comment What prevents a race condition on a lock?
Thank... God... it's handled in hardware... (or at least a level lower than we touch.)