by moron4hire · 3y ago · 0 comments
I mean, I've never worked in a team that large. A big part of that is because I can't imagine asking someone else's permission to write code. If a company can get so big that they can't trust their developers to release code, maybe that company is just too big?
Companies like Google are a joke. All the Cap'n Crunch you can eat, but do your job and write some code and get it into production? Can't have that!
EDIT: the largest company I ever worked at only had about 300,000 employees.
Might want to look into Github to see all of the many open source projects that are doing code reviews for every PR.
Edit: oh God, I looked at his linked personal site and this isn't a parody account. I really hope this guy is drinking or something, he claims to have worked in VR/AR. Claiming that none of his coworkers in 20 years have been able to understand linear algebra, while working in that field?
Oh boy.
Sure, if you're small, working on your own or at an early startup, you can get away with ignoring code quality and just hack away to rapidly do amazing things. As soon as someone else is going to have to change something about that unreadable code, you're going to wish it had been written with a bit more readability.
Moving fast is great for a quick PoC, but if you're going to take that straight into production, you'll see tech debt pile up fast.
Although with large companies, there's also the fact that large companies are just intrinsically slow. I've had plenty of projects where I moved faster than the company could deal with. But also some where some people greatly appreciated the speed at which we could pivot and respond to their needs. But that speed was always built on a basis of readable, maintainable code. And every time we had to deliver something too fast, we followed it up with a period of refactoring to clean up the tech debt, so the next time we needed to, we'd be able to be fast again.
If I were to be in an environment where there are multiple developers who can understand even the basic mathematics of geometry and linear algebra too do what I do (that's a tall order. It hasn't happened once in 20 years that I've worked in a company that has had even one other developer that knew anything beyond basic algebra), why would they spend their time telling me how to do my job, rather than just doing their job? If I got something wrong in my code, A) how did the process guarantee that it will be caught? B) why wouldn't whoever found the problem just fix it?
It's kind how my children argue over basic things like bedtime. They insist it's only "fair" if one of them turns off the light and the other closes the door. And if the light is already off when they enter the room, then the door closer is going to get pissy and turn the light on to make his brother get up out of bed and turn it off.
It's a meaningless exercise developed to give the illusion of control.
Writing code that other people understand is an independent skill from solving the particular problem at hand. If your colleagues don't understand your code, either you need different colleagues, or you can't write understandable code.
It's also the main skill of a developer. Code is for people.
Why code reviewer wouldn't fix errors himself? Well, that's an interesting question for sure. One reason, I guess, is that it current way encourages people to avoid doing mistakes over and over again. If code reviewer would have to fix error himself, that would not encourage person writing the code to avoid issues in the future and that would discourage person doing code review to find any issues. But, I guess, in a very trusted environment that definitely could work.
well.. fair point. Code review guarantees nothing, if there is an issue found there's going to be delay to fix it as it rolls back through the process. I hate "process" as much as anyone else but I learned during COVID its importance. I implemented a vaccine system for a state government with a team starting at 3 and growing to over 100 in about 8 weeks. It was the hardest thing i ever did and "process" saved my ass and kept CNN off my front lawn a few times. It also was a real thorn in my side when i needed to get things done. Process vs getting-shit-done is a balance and it's rarely perfect.