4 ms·
I'm currently in a consulting gig coming up on my one-year anniversary. I'm helping maintain an internal development tool that was written by the company's CTO
by lisper 9y ago
I'm currently in a consulting gig coming up on my one-year anniversary. I'm helping maintain an internal development tool that was written by the company's CTO over the course of the last 30 years. It's some of the most godawful code I have ever seen: functions that are many hundreds of lines long, lines that are many hundreds of characters wide, weird state dependencies all over the place. It is literally impossible to work on this code base on a laptop. My client has two enormous 5k monitors on his desk. (I have to muddle through with just one 4k monitor, and that's barely adequate.)
And yet... somehow, it all works, and at the end of the day, they ship their product on time and make a boatload of money. So my visceral reaction to this code is a very strange mixture of horror and respect.
My approach to trying to get this mess fixed is something along the lines of, "You're the boss, and it's your call, but if I were one of your investors I would be very concerned about the long-term maintainability of this system if, God forbid, something were to happen to you."
Does this approach work? Hard to say. No substantive changes have been made. But I haven't gotten fired either.
- petraeus 9y agoYou are thinking like a junior programmer and instead you should be thinking as an investor. The investor gives little to no damns about your opinion of the underlying code base. Investors do not make fortunes based off the opinions of junior programmers nor on their understanding of the nuances of codebases. Demonstrating such a lack of awareness and understanding does explain why you are a junior programmer and not an investor. My advice to you is the age old adage, put yourself in anothers shoes, go and buy some stocks, etfs, mutual funds what have you and experience the other side of business, let your eyes really be opened before casting judgement on processes you have little understanding of.
- throwawayjava 9y ago> Investors do not make fortunes based off the opinions of junior programmers nor on their understanding of the nuances of codebases. Investors can lose money on bad code bases. Technical due diligence is a real thing. And getting a third-party opinion on "if your CTO dies, does your business also die?" is EXACTLY the sort of thing that comes up in those conversations. E.g., https://dave.moskovitz.co.nz/2016/08/29/technical-due-diligence-checklist/ https://dave.moskovitz.co.nz/2016/08/29/technical-due-dilige... If a technical audit comes back with "the CTO is the only person who can maintain this code base", and if the code base itself is a major asset the buyer is interested in, that can kill or substantially modify the terms of a deal. > Demonstrating such a lack of awareness and understanding does explain why you are a junior programmer and not an investor. (e: removed silly speculation) > ...go and buy some stocks, etfs, mutual funds This provides zero insight into what technical due diligence looks like or how that plays into the overall decision to purchase or invest in a company?
- lisper 9y agoYou both (@patreus, @throwawayjava) might want to take a quick look at my profile before you start speculating about my financial situation.
- deleted 9y ago[deleted]
- shoo 9y ago> Demonstrating such a lack of awareness and understanding does explain why you are a junior programmer and not an investor. It seems as if you're going out on a limb here and inferring an awful lot about someone from a single comment, and your inferences both appear to be incorrect to an amusing degree...
- whytaka 9y agoNot only is your comment misguided, it's also very rudely formulated. Many organizations fear the departure of institutional knowledge that goes hand in hand with retiring baby-boomers. Many investors/corporations also take out life insurance policies for key employees because they are so instrumental to the work process. A labyrinthine code-base without well-defined knowledge transfer processes spell capital disaster.
- gaius 9y agoInvestors do not make fortunes based off the opinions of junior programmers Tell that to the investors in Knight Capital.
- jstewartmobile 9y agoThat is how all code that makes money looks.