Study monitors programmers' stress levels to predict the quality of their code
boingboing.net
boingboing.net
"In a field study with ten professional developers over a two-week period we investigated the use of biometrics to determine code quality concerns. Our results show that bio- metrics are indeed able to predict quality concerns of parts of the code while a developer is working on, improving upon a naive classifier by more than 26% and outperforming clas- sifiers based on more traditional metrics. In a second study with five professional developers from a different country and company, we found evidence that some of our findings from our initial study can be replicated. Overall, the results from the presented studies suggest that biometrics have the potential to predict code quality concerns online and thus lower development and evolution costs."
I'm not sure if he's doing it on purpose or if he's having genuine issues distinguishing boring facts from exciting fiction, but either way Boing Boing shouldn't be trusted at all. Shame, as they used to be quite good.
Your link includes an armored vehicle in which an automatic belt-fed weapon could be mounted (and which are commonly possessed by SWAT teams). It's a military-grade APC, there is no honestly viable quarrel with his title.
Thanks for posting the abstract.
"code elements that are perceived more difficult by developers also end up having more quality concerns found in peer code reviews"
For example, if you're under the pump and have unrealistic deadlines, you are more likely going to write less quality code. Not because you're trying to cut corners, but because when you have the time, you go over your code an improve it about five times before submitting it and have a freer mind to do that.
What are your thoughts?
Is it really a surprise that the distractions, disruptions, and fatigue of stress affect a task that requires significant focus, concentration, and creativity? Or that not having much time to review and revise your work will result in lower quality than if you did have the chance to improve it?
Kind of strikes me as a "Breaking news - water is wet!" announcement.
Water is wet.
The developer text editor of the future should be able to collect features from a smart watch, camera, mouse, text cursor position, the terminal and the browser.
If anyone questions it, show Sr Mgmt that the class and method names match, say it works, and that everyone else is just a bunch of whiners. (The most important thing is that it works enough for a sales guy to convince the customer that it does everything they wanted)
Everyone wants a Lexus but if they're stranded on the side of the road a Lada will do quite nicely. Arriving with a Lada always make you the hero. You can go for beers with mgmt after and negotiate a raise while laughing about how you're surprised the wheels didn't fall off.
The article is brief on details and I didn't follow any links for further study. They seem confident in their findings though so I'm sure they know better than I.
But that's the first thing that popped into my head just reading the headline...
The study measured developers over a two-week period. By the second week, I would say that the developers had probably become accustomed to it.
I curse, too - although more quietly now everyone can hear.
Eventually, I felt that listening to music on headphones everyday for many hours is going to affect my hearing on the long term and I decided to sacrifice productivity to keep my (better than average) hearing in good condition.
I may be rambling a bit but the point I am trying to make is that people are different and also in differing circumstances. So, is possible that you will choose likewise if you were in their place (and were of similar constitution).
Doing it for something measurable like interruptions versus a fuzzy thing like "stress" would be so much easier. And then you could take action to improve things, and measure improvement.
RescueTime and others hit this broadly. Anything do it more narrowly?