Reputation
3,948
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
9 22
Impact
~125k people reached

  • 0 posts edited
  • 5 helpful flags
  • 104 votes cast
Aug
26
comment Delivering source code - refactor for clean up?
Your client has canceled the project. Don't do any more work. If you've been paid for the work you have already done, deliver what you have in whatever state it is in to your client. If you haven't been paid for that work, don't even do that. When projects are canceled and the work to date is collected and archived, it's inevitable that the result is an incomplete, not very pretty, and somewhat inconsistent piece of work.
Aug
26
comment Should the ternary operator be used outside of assignment statements?
Keep in mind that the Jason Voorhees may be assigned maintain that code of yours.
Aug
26
comment How do you troubleshoot an issue that you simply can't duplicate?
Have you tried following the scenario as described by the users instead of following what you think is the scenario? As the developer of the application, you have a certain way of using it in mind. Think like a user, not a developer. If you can't do that, find someone who can.
Aug
15
awarded  Autobiographer
Aug
12
revised Possible alternatives to copy constructors
added 921 characters in body
Aug
12
comment Possible alternatives to copy constructors
@Oebele - I did update my answer, quite a few minutes ago. Then I saw that I hadn't pushed the commit button.
Aug
12
revised Possible alternatives to copy constructors
added 244 characters in body
Aug
12
comment Possible alternatives to copy constructors
@rwong - The const that preceded shared_ptr<const lib_type> was indeed a typo. Thanks for catching it; I fixed it.
Aug
12
answered Possible alternatives to copy constructors
Aug
11
comment How to explain to PM that a task is too small to be shared
You aren't going to start a two month effort without some kind of plan of attack, are you? In fact, you already have the start of a plan: a couple of java classes, some JS and JSP pages.That already has a bit of a parallel development flavor to it. Saying that this can't be assigned to multiple developers doesn't sound right.
Aug
11
comment Is this the correct way to include this MIT licensed software in my software?
Are you distributing your project? If so, as open source or proprietary? If your project is open source, which license? Will the project be used / maintained months from now, or even longer? Does JSON.sh represent a significant portion of your project, or is it a tiny little slice?
Aug
11
comment Is this the correct way to include this MIT licensed software in my software?
Every file? No! The MIT license is not a viral license that makes every file in ones project open source with the inclusion of MIT-licensed file in the project.
Jul
28
comment Is throwing new RuntimeExceptions in unreachable code a bad style?
There's nothing wrong per se with a function that does not return. It happens all the time, for example, in real-time systems. The ultimate problem is a flaw in java in that the language analyzes and enforces the languages's concept of correctness and yet the language does not provide a mechanism for somehow annotating that a function does not return. However, there are design patterns that get around this such as throw reportAndTransform(e). Many design patterns are patches are missing language features. This is one of them.
Jul
22
comment “Party on my branch” workflow support in mercurial
Mercurial is aimed for ease of use. Don't fight it. Do not try to do that rebase --this-option --that-option --yet-another-option nonsense with hg. Just let it do it's thing. The git penchant for hacking history targets one specific project that involves thousands of developers spread across the globe. Unless you are contributing to that singular project, the standard git workflow <expletives deleted>. In my opinion, of course. Actually, not just my opinion. The developers at github eschew that git workflow for a workflow that makes gitflow look complex.
Jul
22
comment “Party on my branch” workflow support in mercurial
Seriously? rebase --interactive, push --force, pull, fetch, merge --ff-only, reset --hard and possibly others? And Also commit --amend --all --reuse-message=HEAD. I'm anxiously awaiting the day when the git developers add the --kitchen-sink --alphabet-soup options. This is why git is the most appropriately named piece of software ever.
Jul
22
comment Experiments correlating code metrics to bug density
Not worthy of a downvote, but that should be "some studies show no correlation", because other studies do show a correlation.
Jul
22
answered Is cyclomatic complexity density a good software quality metric?
Jun
29
comment What are the advantages of build scripts?
I too am one of those developers. I don't want my fingers to have to leave the keyboard. Doing so interrupts my thought processes.
Jun
29
comment What are the advantages of build scripts?
It's not just a matter of different IDEs. Some developers hate and loathe IDEs of all types.
Jun
18
awarded  Nice Answer