swizec.com
Read post

Code is the easy part, or how we refactored half the business to fix a janky script

This title could be clearer and more informative.Try out Clickbait Shieldfor free (5 uses left this month).

A startup engineering war story about refactoring a broken billing system at Plasmidsaurus as the company scaled from $20M to near $100M ARR. The core insight: the real problem wasn't the janky Python invoicing script but a misaligned data model. The fix required introducing 'billing entities' as a new abstraction, migrating from QuickBooks to Rillet, building self-service tools for users and finance, and rewriting the invoicing script with proper tests. The process took 6 months, involved 6+ people, required extensive user interviews and watching people work, and was shipped incrementally to avoid breaking a live system processing thousands of orders daily. Result: month-end invoicing dropped from a week-long ordeal to 2 days.

    #architecture
Jun 17•14m read time•From swizec.com
Post cover image
Table of contents
Some contextFirst make the problem simple, then solve the simple problemTalk to your usersWatch people workIt's a roadmap not a projectShip along the wayDid it work?
18 Impressions
swizec.com's image
swizec.com

Swizec's platform provides resources for developers, covering a diverse range of topics such as prog...

238 Followers

•

5.1K Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard