Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more
66 votes
Accepted

Company outsourced testing; how can we encourage programmers to stop overly relying on testers?

It seems to me there is a contradiction in policy here. On the one hand, the firm has outsourced testing because it consumed programmers' time excessively, and could be done more cheaply by others. ...
Steve's user avatar
  • 8,913
36 votes

Company outsourced testing; how can we encourage programmers to stop overly relying on testers?

Bottom line: this is a cultural problem. I come from the viewpoint that competent programmers at least write unit tests for the more complex parts of their code. The problem is not everyone shares ...
Berin Loritsch's user avatar
35 votes
Accepted

How to deal with misconceptions about "premature optimization is the root of all evil"?

It seems you are looking for shortcuts not to try out the "purest naive implementation" first, and directly implement a "more sophisticated solution because you know beforehand that the naive ...
Doc Brown's user avatar
  • 208k
28 votes
Accepted

How can you decide how much detail is it worth going in to when planning a new feature?

There's no one-size-fits-all answer to this. It's highly context sensitive. One of the biggest factors is risk. You want to do just enough up-front design and planning to bring the risk to a tolerable ...
Thomas Owens's user avatar
  • 82.8k
19 votes

Company outsourced testing; how can we encourage programmers to stop overly relying on testers?

Okay, we all share the common goal of protecting and defending developers but there are some things in your question that make me somewhat uncomfortable... They also don't see why fixing a problem ...
Vector Zita's user avatar
  • 2,452
17 votes

How to deal with misconceptions about "premature optimization is the root of all evil"?

Ask yourself this: Is the software NOT meeting performance specification? Does the software HAVE a performance issue? These are reasons to optimize. So, if people are opposed, just show them the ...
Jon Raynor's user avatar
  • 11.5k
13 votes

How can you decide how much detail is it worth going in to when planning a new feature?

This boils down to time management and a measured approach to risk. First consider where your stakeholders stand -- While not universally true, it's typically the case that stakeholders prefer the ...
Ben Cottrell's user avatar
  • 11.8k
11 votes

Understanding LSB and MSB

TL;DR: The following function will do the conversion from physical value to 16-bit code: short valueToCode(double value) { return round(16.0 * value); } Long explanation An unsigned 16-bit ...
Ralf Kleberhoff's user avatar
11 votes
Accepted

Why do MMS require "mobile data" to be sent/received?

MMS was conceived as a way of adding multimedia capabilities to SMS, not as an internet messaging platform. It uses a set of technologies which made sense in the mobile ecosystem of the time, but are ...
IMSoP's user avatar
  • 5,857
10 votes
Accepted

How to let others developer know what was tried and didn't work?

By writing it down as a comment at a prominent place of the code which realizes "Design B"! Which place one chooses depends on the specific situation, whatever feature this is, whatever "Design B" ...
Doc Brown's user avatar
  • 208k
10 votes
Accepted

Using the word "loop" as a subject in a sentence

This is close to "list of things" or "opinion-based", but I'll risk it anyway, as clear communication about code is part of our profession in my opinion(sic). This loop operates ...
Hans-Martin Mosner's user avatar
9 votes

Understanding LSB and MSB

That’s poorly written documentation. They’re assuming that you know they’re using a Fixed Point number format. LSB 0.0625 and MSB 2048 This would have been more easily understood if it was ...
RubberDuck's user avatar
  • 8,961
9 votes

Company outsourced testing; how can we encourage programmers to stop overly relying on testers?

Don't just assume you're right about over reliance on integration testing. You're pushing for the wrong things. Be very careful about driving people to measurable results vs actual results. ...
candied_orange's user avatar
9 votes

How can you decide how much detail is it worth going in to when planning a new feature?

There are projects for which that's a totally valid approach. Safety-critical ones, for example. You've already spotted that the deep dive process lets you identify risks earlier. The challenge is to ...
pjc50's user avatar
  • 13.5k
8 votes

What is a good diagrammatic way to represent async event communication between two systems?

The UML sequence diagram is well adapted to represent an interaction between several objects (or components or, why not,systems). It has semantic to make the difference between synchronous and ...
Christophe's user avatar
  • 77.9k
8 votes

How to deal with misconceptions about "premature optimization is the root of all evil"?

How to work with people who stonewall a discussion the minute it has to do with performance? Begin with shared principles that build on the strategic direction of your group. My Principles: My ...
Aaron Hall's user avatar
  • 5,933
8 votes
Accepted

Is it generally helpful to include JIRA issues in code comments?

I would try to avoid such comments. Although I think there is a place for them where you have a particularly annoying requirement. Which without, anyone might want to refactor the code. eg. //must ...
Ewan's user avatar
  • 76.3k
8 votes
Accepted

Why wouldn't my team want to run unit tests automatically?

Firstly, thank you to @Gnat for finding insight into the real issue here and giving me what I needed to know to get to the real issue. We have agreed to isolate the unit tests and integration tests ...
Bob's user avatar
  • 856
8 votes

Who is the potential audience of a commit message?

Good commit messages are underrated, in my opinion, kudos to you for trying to improve in this aspect. I think the primary audience for commit messages are other developers. There might be other ...
Frederik Banke's user avatar
6 votes

How to deal with misconceptions about "premature optimization is the root of all evil"?

The way forward is to forget about the actual quote and the various interpretations - it it dogmatism either way to focus so much on a specific quote by a guru. Who says Knuth is always right anyway? ...
JacquesB's user avatar
  • 59.7k
6 votes

Why wouldn't my team want to run unit tests automatically?

I'm managing a team in .net. Doesn't matter. They are writing unit tests ... and only wants to run them once a week or so. Unit tests are not run once a week. You run them before and after ...
candied_orange's user avatar
6 votes
Accepted

Explaining why a code's modifier should also be its committer

Personally I wouldn't even try to break a large chunk of code into lots of little commits. You're bound to end up with intermediate versions that don't work anyway. Just check the whole lot in in ...
Simon B's user avatar
  • 9,633
6 votes

How can you decide how much detail is it worth going in to when planning a new feature?

How do you decide how much depth of knowledge is enough? As the title of the old song goes: There are more questions than answers. Simply put: you need enough information to be able to make an ...
Robbie Dee's user avatar
  • 9,805
6 votes

How can you decide how much detail is it worth going in to when planning a new feature?

You should research a new feature to the level of detail you need to begin working on it and to estimate how long implementing it will take you to a reasonable degree of certainty. You don't need to ...
jwezorek's user avatar
  • 179
6 votes

How can you decide how much detail is it worth going in to when planning a new feature?

This is where a diverse team is helpful. It's not a bad thing to methodically gather context on a problem, but you need someone to help you stop at a certain point and actually implement something. ...
Karl Bielefeldt's user avatar
6 votes

Is there some standard or virtually standard way to document code in a language agnostic and IDE agnostic fashion?

There is no standard. It all depends on the specific tool that you use for generating the documentation. On one hand, you have language-specific tools like Javadoc for Java, Scaladoc for Scala, rdoc ...
Thomas Owens's user avatar
  • 82.8k
5 votes

Is it generally helpful to include JIRA issues in code comments?

For Code Comments, there is very little usefulness. For version control comments, they are very useful for reasons outlined below. Code comments really should be used to help understand the intent ...
Berin Loritsch's user avatar
5 votes

Why wouldn't my team want to run unit tests automatically?

but they keep bringing up fears of the builds being too slow, or what happens when the tests prevent an urgent build. What happens if you should prevent an urgent build because you're about to commit ...
Bryan Oakley's user avatar
  • 25.3k
5 votes

Company outsourced testing; how can we encourage programmers to stop overly relying on testers?

I'm firmly in the 100% automated coverage camp. I think it actually helps me go faster in the long term, and I hate having things kicked back to me from a tester. That being said, if people hate ...
Karl Bielefeldt's user avatar
5 votes
Accepted

Who is the potential audience of a commit message?

There can be several potential readers with different expectations: A reviewer going over your code will read the commit message for context and to understand the rationale for the new code. Your ...
Avner Shahar-Kashtan's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible