by thetechlead · 7y ago · 0 comments
Not anymore. Let me talk startup anti-Google pattern here.
* Most of Google’s code is stored in a single unified source-code repository, and is accessible to all software engineers at Google
This can be the worst nightmare from a management POV in a startup. Sure it sounds wonderful everyone can see/fix anyone else code but 99% people shouldn't have time to do so (if they do their work load is not full, increase the load). The 1% I guarantee all your codebase has just been stolen by an ex-employee with malicious attempt. Instead divide your codebase into different projects/roles and people only gain access when needed.
* Software engineers at Google are strongly encouraged to program in one of five officially-approved programming languages at Google: C++, Java, Python, Go, or JavaScript.
We use Go for backend programing and vue (javascript) for frontend. Don't use Java if possible, keep away from C++ and definitely never Python which is a maintenance nightmare.
* The next step is to usually roll out to one or more “canary” servers that are processing a subset of the live production traffic.
Not necessary when your misery not-product-market-fit-yet website only gets 100 users. Just roll-the-f-out , let it break and fix later. Building the canary system is a huge overkill in the early stage.
* All changes to the main source code repository MUST be reviewed by at least one other engineer.
Same as above. Just build and RTFO.
That's a sweatshop mentality. Startup, big corp, whatever: your engineers should have flexibility to work on things that they recognize the importance of. That's not the same as free time or a lack of tasking; that's treating people like adults who might notice things you do not.
And if you're intentionally trying to manage your engineers in a way that keeps them from having time to notice bugs in others' work, you're doing yourself a fucking massive disservice: when people have collaborative ownership of something, they get invested in its quality/growth/feature-set, and productivity goes up. "Don't look at other people's code, just keep your head down and churn out the feature in time, ignore the larger picture!" is a recipe for low-output, uninvested, hard-to-reassign, burnt out engineers. Doesn't matter if it's a team of 2 or 2000.
Did you just say that all startups should never use Python? This is such a ridiculous statement I could hardly imagine where to begin with it.
...and we all know how horribly they failed.
This comparison makes absolutely no sense.
Being a startup does not excuse this kind of cavalier attitude
Not a single startup was killed by software bugs or design faults. Never. Many other things do.
You have way more important things to worry about in a startup than optimising uptime.
> Same as above. Just build and RTFO.
Deploying without review is not only a development nightmare (if you keep deploying without review, you'll eventually break something or introduce security vulnerabilities, unstable code etc.), but it can also get you in massive trouble with your compliance audits.
Peer review is very important in production code.
A developer shouldn't have time to fix other people's bugs?
Go through this tutorial and gobyexample.com and they should have enough knowledge to work on a project at the end of day three, because the language is so simple. If not, fire your new hires.