5 ms·
I agree with the thrust, but these need more nuance: > Avoid custom technology. Software that you write is software that you have to maintain. Forever. Don’t s
by toast0 8y ago
I agree with the thrust, but these need more nuance:
> Avoid custom technology. Software that you write is software that you have to maintain. Forever. Don’t succumb to NIH when there’s a well supported public solution that fits just as well (or even almost as well).
Software you run is software you have to maintain; until you can burn it in the fires of Mordor. If there's a public solution that is a good fit for your problem, and was built along the same lines you would build it, then that's great; but if it's a great fit for the problem and also pulls in 70 dependencies and updates three times a week, that's probably not worth the integration mess.
> Use services. Software that you install is software that you have to operate. From the moment it’s activated, someone will be taking regular time out of their schedule to perform maintenance, troubleshoot problems, and install upgrades. Don’t succumb to NHH (not hosted here) when there’s a public service available that will do the job better.
You don't need to host everything, but you better have a backup plan when the service you depend on decides that they're no longer going to provide the service. Chances are, you're going to need to debug the service too, sooner or later, and it's harder to debug a black box. That said, it's great when you can lean on a rock solid service to do things that are important, but not a 'core competency'
- pcmaffey 8y agoYup, also "publicly supported solution" often means not perfectly customizable, and may only be publicly supported for a limited time. I find that most services get me 80% of the way, 2x faster than a custom solution. But the final 20% is an unknown abyss that will more often than not, have insurmountable limitations. And so, if the software is in my wheelhouse, I'm almost always better off building it custom.
- 0x8BADF00D 8y ago> Software you run is software you have to maintain; until you can burn it in the fires of Mordor. If there's a public solution that is a good fit for your problem, and was built along the same lines you would build it, then that's great; but if it's a great fit for the problem and also pulls in 70 dependencies and updates three times a week, that's probably not worth the integration mess. I’ve gotten flak for rolling my own library. Basically, I was trying to get the base clock rate of a server for benchmarking purposes. Instead of using an external library, I simply wrote some inline assembly to read from the timestamp counter. I was told this will create a maintainence headache, but zero fucks given on my end. I got to write some inline assembly today. :)
- taneq 8y ago> I was told this will create a maintainence headache... People say things like this as if it's possible to ever get away with not maintaining software. Everything you do will create a headache, you only get to decide the exact location. (And I'm with you on reducing external dependencies where the cost to do so isn't prohibitive.)
- maxxxxx 8y ago"I was told this will create a maintenance headache" That's such a weird attitude I see often. If you had put your stuff on Github under a different name and then downloaded it everybody would have been fine with it.
- Spooky23 8y agoI used to work at a place long ago where the on site engineers would write the code, commit it to a “shared source” program at a vendor, and then license the code back at a cost from the vendor.
- kungtotte 8y agoLet me guess, at some point a manager was upset that some internal code broke and instituted a "only shared libraries from this vendor"-policy that was set in stone?
- TeMPOraL 8y agoSometimes I think it's just someone's laziness that somehow mutated into cultural norm. Or maybe CYA mentality, as when a dependency breaks, you can blame third parties and say that it was totally not expected to happen.
- peterwwillis 8y agoLater, when this causes a portability problem, it will be replaced. As long as you, your manager, and your teammates are fine with having to replace your work, go crazy. Write an HTTP server in Pascal. Create a linker in awk. YOLO.
- iamleppert 8y agoThe whole fallacy of slopping together a bunch of open source stuff and not bothering to understand any of it is a house of cards waiting to fall down. It's far better if you have the time and resources to develop your own software from as low a level as possible. Each layer of abstraction that you can shed is an opportunity to tailor your solution more closely to your problem and to have expertise in-house. Big tech companies know this and it's why they do a lot of stuff in-house. The key is in knowing what to develop in-house and what to punt on, and when.
- dsjoerg 8y agoThat's why I fab my own chips!
- nsalkmaar 8y agoapplauds loudly It might even be bad for the project and/or client but lets not forget these tv dinner people cant even cook!
- iamleppert 8y agoIf I had unlimited time and resources that’s exactly what I’d do. Big companies often have both so that’s exactly what they do.
- maxxxxx 8y agoMy approach is to slap together a bunch of stuff to get a better feel for what's really needed. Once things solidify you can often see that you only need a few things which you then can either custom develop or with less components. Starting out from scratch without exactly knowing what's needed seems extremely slow, inflexible and prone to wrong decisions.
- im3w1l 8y agoFor a big company it can make sense to take on a big fixed cost (custom software) to reduce a variable cost (cpu/storage/bandwidth consumption). A small company may not have the economy of scale to justify it.
- 8y ago
- TeMPOraL 8y agoTotally with you on self-inventing/self-hosting. However, the cynic in me will make a point that original advice is spot-on for startups, as most of them these days care not about their product, but are just a gamble on getting acquihired. Their expected lifetime is around the same as the services they depend on (likely less), so they can get away with it. A less cynical point can be made that slapping your prototype pretty much entirely from third-party services and libraries can be a good way to get to the market fast, at which point you can secure funding that'll allow you to slowly replace critical parts with your own code, to ensure survival of the product.