4 ms·
I asked 100 devs why they aren't shipping faster. Here's what I learned
- xedrac 3y agoA misguided focus on developer velocity through forced deadlines...
- chrisandchris 3y ago> …the biggest thing was we didn’t have good tests or good types, so I had to do a lot of work to do e2e testing of stuff whenever I wanted to ship stuff Shouldn't solve that one by itself after a couple iterations? If one's really testing what they wrote + surroundings because there were no tests, there will be tests over all of the codebase very fast.
- sfn42 3y agoLot of BS excuses in there. The ones about nitpicking in reviews too, if the comment is a tiny nitpick then surely it's trivial to fix? I regularly fix a whole bunch of minor things people comment on in minutes, it only takes long if it's a big change. You can also work on other stuff while waiting for reviews. Similarly one guy complained about pipeline runs, like what? Does it take hours? Are you just waiting for it to finish? Are you not running tests locally first?
- hahahafevs 3y agoMost of these complaints are from people that are essentially causing the problems they complain About. They just can’t see past “must write garbage code as fast as possible” Writing docs? Waste of time Reviews? Waste of time. Usability to other engineers? waste of time. Waiting for CI because they can’t be bothered to test thing locally first? Waste of time. Stakeholder approval? lol waste of time, we don’t care if people want the software we write. Having any idea how anything works outside of whatever tiny thing being worked on? Waste of time.
- RetroTechie 3y ago> Most of these complaints are from people that are essentially causing the problems they complain About. They just can’t see past “must write garbage code as fast as possible” +1. The article summarizes well as: reasons not to ship code asap. Do it right the 1st time. Failing that: make sure any fixes absolutely, 100% fix the problem, are well tested & don't cause regressions. Isn't [determine requirements], running builds, QA etc supposed to take time? Is development velocity even a goal worth striving for? Whatever you kick out the door, could be on others' systems for ages.
- dilyevsky 3y agoAt one former gig we pulled telemetry from devs machines and lo and behold - the biggest complainers ran the pipeline twice a week or something. At this point i am convinced surveys is the worst way to go about “measuring” productivity. People are just going to tell you what they think you want to hear mixed with some self-serving bs and you will end up pouring resources into fixing the wrong things
- P_I_Staker 3y agoIME, it just becomes about: "I shouldn't have to do all this to make my one little change." You need the team on board that there could be unexpected slowdowns, due to the scope of the work being greater (or I guess you can look at test coverage during planning stage). I've been on one team that had the philosophy: "if we touch a file, all the technical debt becomes the responsibility of the team implementing" Not to say it was perfect, because if people skip technical debt once, they're likely too again later. However, so many managers in some fields would get all wound up about the potential for "unexpected issues", that we lost site of the big picture. This is how change works efficiently. Since the work was organized by file it actually becomes common sense to make everything right in the file, including in some cases unrelated changes to meet static (lint) analysis (though of course this leads to even more testing work). If it was something small, it takes so much more effort to plan a cleanup story, and execute that. Additionally, it's highly likely to be de-prioritized. Basically you want to clear the sink after you start doing dishes.
- samsquire 3y agoI think our programming languages haven't caught up to an ideal notation of semantics of computer system behaviour at a macro level. The design patterns (Gang of Four etc) and software architectures that are so complicated they require extreme discipline to keep understandable. (And cognitive load)
- pull_my_finger 3y agoWhich pattern did you find complicated? Most of them just come down to "wrap it/them with a new object to encapsulate the new/shared state or provide the new behavior". The rest are probably made obsolete by modern programming languages.
- CRConrad 3y ago> Most of them just come down to "wrap it/them with a new object... Seventyfourteen layers of wrapping is complication.
- quectophoton 3y agoCtrl+F "env", nothing, "local", nothing. The article title gives me flashbacks to when I had to work on a project that was all-in on AWS serverless stuff, and we had a single dev environment (there could be only one person at a time working on a specific service), that was also used by other teams (so, many times when we tested stuff we received complains that it was broken because other teams' services were pointing to ours). And no, there was no way to test locally and "no time" to even try. There was also a test/staging environment that required waiting a few days between the moment you request a deployment until the moment it was actually deployed. And the best part, all environments had very different Terraform files, so there's some stuff you could only test when you deployed to the staging environment, and some stuff you could only test when deploying to production. Each deployment with a waiting time measured in days. [thousand yard stare] So much time wasted.
- icedchai 3y agoI worked at a “serverless” shop and ran into people who would actually edit code in the AWS console. They’d then copy-paste into their local editor before committing to git (usually. Stuff sometimes got overwritten!) It was baffling that no time was spent on local environments.
- tayo42 3y agoIs this how serverless really is? I just inherited someone's lambda project and basically I have the same experience. Like no testing, just deploy to production and see how it goes. Idk how this didn't set off red flags to anyone.
- throw310822 3y agoI am shipping faster.
- robbiejs 3y agoThis is a very interesting article, thank you for the research! I am very happy to work solo to prevent as much of these things as possible. Everyone is using Typescript these days it seems instead of plain JavaScript but the 10 seconds + compile times and the extra layers in debugging make it a pain for me instead of a benefit. So I am using ES6 with Rollup. Rollup is great and my only dev dependency really. However great it is, if one day I could do without, I would :-)
- oerdier 3y agoI started using Deno for its native TypeScript support. Debugging my TS libraries by stepping through the TS code in my editor is great.
- JohnFen 3y agoThe list of companies the devs surveyed came from are all in the same subculture of the software industry. It would have been more interesting (and more meaningful) if there was a more representative sampling.
- chii 3y agoit's because only those companies with this subculture have time to answer surveys, because everybody else is just too busy working hard.
- noashavit 3y agoYes, I feel like "people" and "process" wouldn't be the main blockers for dev velocity if they surveyed devs from non FANG/fortune 100 tech companies.