Post #3293341
2026-05-09 06:23 UTC
After trying rubyfmt I think it’s finally time for us to autoformat our Ruby code and leave most* style debates behind.
It ran incredibly fast (very small number of seconds) on our ancient monolith’s full codebase.
I’m rather proud that we stumbled over 2 bugs due to some exotic formatting choices (reported and fixed in a jiffy).
* It doesn’t enforce any one multiline block style 🙈
https://stripe.dev/blog/formatting-an-entire-25-million-line-codebase-overnight-the-rubyfmt-story
Replies (0)
No replies.