3 ms·
And yet Ruby and Python dominate in the most valuable YC startups. Either "safe and sane refactoring" isn't necessary to create value. Or you're just wrong.
by hbrn 4y ago
And yet Ruby and Python dominate in the most valuable YC startups.
Either "safe and sane refactoring" isn't necessary to create value. Or you're just wrong.
- still_grokking 4y agoSure it's not necessary when you produce throwaway code. Most startups do exactly this. That's even a valid strategy: Concentrate on the business case only, redo the code when you get successful and have the money to rewrite everything. (Of course quite some companies misses of missed the right time to throw away everything and rewrite it. This results later on in a huge and very expensive PITA; some of the companies affected even started to build their own compilers and static checkers for the languages they use; just look who pays for static type checkers for Python or Ruby).
- hbrn 4y agoSo the path to success is the following: 1. Write a bit of code (two pages max). 2. Become a unicorn. 3. Rewrite everything. Either there's something missing between steps 1 and 2, or dynamic languages allow you to become a multi-billion dollar company just by writing two pages of code. I mean they are concise, but not that concise. But it sounds like no amount of evidence will convince you. You have to invent weird terms like "sane refactoring" and "throwaway code" that do all the heavy lifting in your religion. If you are presented with evidence that a lot of successful companies are doing refactoring with dynamic languages, you will say "it's not sane refactoring" (no true Scotsman) or say those companies are outliers (ignoring the fact they are overwhelming majority). But all of that doesn't matter. Those companies are still more successful.