4 ms·
>>> In an environment that places stress on those who underperform, anything that calls attention to performance problems will be hated. This is so missing the
by user5994461 6y ago
>>> In an environment that places stress on those who underperform, anything that calls attention to performance problems will be hated.
This is so missing the point of development.
What do developers do? They write code and they ship code. (we could say that they deliver features or business value rather than code but that's not the point).
Code review is effectively preventing them to work. A bunch of comments on a PR, with no approval in sight, is very effectively blocking any progress on their work and making their project late.
Of course they're going to hate that.
- edudobay 6y agoI can't tell if the previous comment was ironic, but it seems to me that developers seeing things that way is a sign of immaturity or unprofessionalism. Why must developers write and ship code? To deliver a certain goal / feature / business value. If all they're willing to do is writing and shipping code without considering how will that software work in the future, what problems it might have, how hard it will be to make changes to it, they're not being responsible enough about their work. Software in general (except for throwaway code) is not supposed to work only NOW — it is expected to work for a long time, with an acceptable degree of quality, and with changing requirements. If, to build a wall, it takes longer than just laying some bricks, it is because a solid wall serves many more purposes than some layers of bricks.
- redis_mlc 6y ago> I can't tell if the previous comment was ironic, but it seems to me that developers seeing things that way is a sign of immaturity or unprofessionalism. It's not ironic, it's the new snowflake culture. It's pervading HN too. I made a comment a couple months ago about respecting the result of an election, and one reply was, "Yeah but what if you lose and you don't accept the result?" It was bizarre.
- bluGill 6y agoWhat does the business really want? If it is more or less worming code, or perfect code? Or somewhere in the vast continum between? Code review is one tool in a large set to get closer to perfect. However if the business doesn't care to get there why are you doing it at all? Of course if you care at all about quality code review is one of the better bang for buck tools and so maybe you need to change your culture around peer correction so it can be used. The choice is your companies.
- edudobay 6y agoCode review is not about perfection – it is about peer review, much like in science, recognizing that a single person might have overlooked a lot of important stuff, and recognizing that collaboration usually leads to higher quality work. Of course the desired level of quality will be different at each company/team, and each team should adjust for its own reality. In the same team there can be times for throwaway code with low standards, and times for high quality code with strict standards. It is part of the developers' responsibility to tell them apart and make contextualised choices.
- Person5478 6y agoIn practice code review allows 1 or 2 people on the team to insist on their preferences throughout the project. I once saw a 3-4 line fix turn into a rewrite of an entire page that took several full-time days to finish because the developer didn't like the original fix. I've seen a former DBA turned software dev insist on using nulls throughout the codebase rather than empty strings and ignore the argument that's not considered good practice as a software developer because they themselves are "now software developers". And the rebuttal is always the same, "well you're just doing it wrong". Maybe, but it gets done wrong more often than right. I'm not against code review per se, but the number of times I've seen silly and arbitrary changes because of one developer's sensibilities is way too high.
- bluGill 6y agoIf you don't care about people overlooking things and otherwise turning in low quality work, then don't do code reviews. In short your very words prove that you are wrong and code review is about getting to perfection. (along with types, formal proofs, tests, static analysis, and a few dozen other tools that are often used).
- TheCoelacanth 6y agoThat's missing the point of development. Developers are supposed to be producing working software, not just code. Code reviews help with that. They don't detract from it.
- wccrawford 6y agoWe've had a few people who thought their job was to close tickets. They'd write some code that fixed the problem, ignore all other problems (including ones they created while fixing the ticket) and call it done. These people didn't last because that wasn't their job. Their job was to improve the product, and tickets were a way to explicitly telling them what their priorities are. Instead, they ended up creating more problems than they solved. Some of those problems we're still dealing with to this day. Coding is something they do to improve the product, but it's not the only thing. They were expected to report other bugs they found, or just fix them, depending on the situation. And I'm not even talking "write up a full bug report with repro steps." Just a comment in the ticket would have been fine. Code reviews are the least time-consuming thing that we do, and even if they took a whole day, they can start working on a new ticket until then. The conflict I was talking about before is the difference between the goals of the company and the goals of the employee. The company wants a better product, in line with their vision for their product. The employee wants money and to advance their career. These aren't fundamentally incompatible, but some people's attitudes towards their career actually end up hampering their own goals. The idea that "coders just code" is one of those ideas. That might work for junior developers, but mid and senior developers need a lot more skills.