4 ms·
I look at their code. Deeply. To me, this is more important than everything else put together. I don't like jerk bosses, difficult customers, unrealistic deadl
by edw519 10y ago
I look at their code. Deeply. To me, this is more important than everything else put together.
I don't like jerk bosses, difficult customers, unrealistic deadlines, lack of specs, reqs, or schedules, tough commutes, or unreasonable pay, but over the years, I've learned to live with them.
I have never learned to live with shitty code.
I'll answer your phones. I'll clean your toilets. I'll even take your daughter to the movies.
But I will never refactor another 800 line case statement with 26 early exits, 14 double negatives, and 90 unintelligible variable assignments inside a 23,000 line module. Never.
I wish I had adopted this philosophy years ago. Oh how much better my life would have been.
- cpfohl 10y agoHow do you look at a company's code before you get on the job? I've never been in a situation where my company or my company's clients would have been ok with that.
- EamonnMR 10y agoSome big companies have open source libraries you can check out. Smaller companies not so much.
- edw519 10y agoInsist on it! I can't tell you how sorry I hadn't done this sooner. If they won't comply, that's a big red flag. Run the other way.
- aratno 10y agoIn most industries, this is not a red flag at all. Nobody doing anything serious would let normal applicants look openly at their codebase.
- Etheryte 10y agoYou don't have to (and should not) request access to the whole codebase, simply asking to see a single medium sized file from a project you would be expected to work with is often enough. I've asked for this before with great success, some companies will ask you to sign a short NDA beforehand, most don't even bother. Sure, it leaves the chance that they will simply show you the pretty parts, but at least you'll know that there are some pretty parts at the very least.
- abulman 10y agoMuch of the time, the software isn't what makes for a great company - it's how that software makes the business work. A company can have the best code in the world, but if Uber had no cars, AirBNB had no houses, or Facebook didn't have your friends - they would be pointless.
- joatmon-snoo 10y agoIf they won't comply, that means someone read their employment contract and non-disclosure agreements.
- metaphorm 10y agoI'm not sure if you're serious or not. A small company selling a proprietary software product ABSOLUTELY WILL NOT EVER UNDER ANY CIRCUMSTANCES show you their code before you've signed contracts.
- gregshap 10y agoI've never had someone ask this, but I would offer to let them browse some code and recent PRs on my laptop while I sit alongside.
- lutorm 10y agoBut I will never refactor another 800 line case statement with 26 early exits, 14 double negatives, and 90 unintelligible variable assignments inside a 23,000 line module. Never. But there's the sign that they really need you.
- JamesSwift 10y agoParaphrasing JFK: "We pay you the big bucks not because what you do is easy, but because it is hard"
- bb88 10y agoI'm not sure you can ever adequately analyze the code in the amount of time needed to make a decision -- unless the code is less than say 20,000 lines. Any company of reasonable size will have ugly code bases somewhere, someplace, hidden in the dark reaches that nobody wants to touch because it was written 5 years ago and no one who wrote it is around anymore.