4 ms·
Rewrites are the devil though, at least that's what Joel Spolsky taught me. Additionally, spending time at a really large tech company taught me that rewrites
by disgruntledphd2 6y ago
Rewrites are the devil though, at least that's what Joel Spolsky taught me.
Additionally, spending time at a really large tech company taught me that rewrites apparently never work (or at least it's better to build compilers for your shitty slow code rather than rewrite it in a better language).
The linked post concerns Dropbox, who to be fair are an infrastructure company with low margins selling a commodity product. It doesn't surprise me that they would find such a move more important than say, Instagram who have a very large margin selling a differentiated product.
I do really appreciate python types (and things like monkeypatch from IG for adding them) as they are an incremental improvement to a widely used language.
- staticassertion 6y agoRewrites have probably saved Dropbox 10's of millions of dollars. They just have to be done well. They've rewritten many critical components in the last few years (magic pocket is a big one, nucleus) to great success. Where rewrites are bad are when someone comes to a codebase, goes "wow this sucks I Can do this better", and starts from scratch. This is worth calling out because it's quite common, but it's very easy to avoid. I'm a fan of Python for what it's good for. I use it professionally, and built a product around it. I'd be happy to see Python perf wins, but I'm never going to expect it to compete with other languages.
- ngcc_hk 6y agoAgreed. Only optimize those part Ned optimize.
- gsnedders 6y ago> Rewrites are the devil though, at least that's what Joel Spolsky taught me. From scratch rewrites of anything large are, absolutely. But it's entirely possible to rewrite code component-by-component in many cases, and that's what most of the successful moves have done.