[flagged]
Formatting a 25M-line codebase overnight
11–20 of 115 posts
Re: Formatting a 25M-line codebase overnight
#12[flagged]
Re: Formatting a 25M-line codebase overnight
#13[flagged]
The systems have to be written in some kind of programming language, and I think Ruby is a perfectly fine choice.
The thing I am interested is that I don't suppose that Stripe always had these many LOC's and so I would be curious to know if at any point as the codebase was increasing, were they looking at other new languages which were coming like golang or rust which was more suited for their work or not and what were there decisions/thinking process to continue using ruby.
Re: Formatting a 25M-line codebase overnight
#14[flagged]
Re: Formatting a 25M-line codebase overnight
#15I’m shocked at the 25M line part! That is a completely unfathomable amount of code for one codebase. I really want to know more about that.
They're up to 42 million now, as per the article
Re: Formatting a 25M-line codebase overnight
#16Re: Formatting a 25M-line codebase overnight
#17[flagged]
Re: Formatting a 25M-line codebase overnight
#18Now it makes me wonder, are those 45M LoC are untyped ?
Re: Formatting a 25M-line codebase overnight
#19Re: Formatting a 25M-line codebase overnight
#20The lead developer didn't like to bother with formatting code, so I wrote a tool called makenice to format his nasty spaghetti gibberish into something with good indents and layout to make it easier for us normal people to parse.
He was furious, literally spun in circles about it right in the office in front of everyone, so I wrote makenasty to format code into the way he appeared to like.
I only shared makenasty/nice with a couple of the team, who loved it, as it allowed easy conversion between something readable and something the team lead like.
He never knew about makenasty.