News for hackers. Stuff that matters.
Re:Making bracket pair colorization faster by choeger on Wednesday September 29, 2021 @01:57PM (#28697438)
> the checker.ts file of the TypeScript project, which has more than 42k lines of code

What the actual f** ?

42k lines of code and they mention it casually without even thinking about explaining the reason behind this monstrosity?

And yes, I fully expect the comments below to contain stuff like "This is nothing, back in the day we had a 1M loc Java class."

Re:Making bracket pair colorization faster by int_19h on Wednesday September 29, 2021 @11:29PM (#28702890)
The file is linked from the article, so you can look at it and judge for yourself.

https://raw.githubusercontent.com/microsoft/TypeScript/8362a...

Re:Making bracket pair colorization faster by sellyme on Wednesday September 29, 2021 @09:04PM (#28702053)
Why on earth is it their job to explain the reason behind a large file in a completely different piece of software?
Re:Making bracket pair colorization faster by npigrounet on Wednesday September 29, 2021 @06:22PM (#28700753)
This is nothing, back in the day we had a 1M loc Java class.
Re:Making bracket pair colorization faster by pnt12 on Wednesday September 29, 2021 @04:08PM (#28699217)
They just picked a big real file and used it for benchmarking. Apparently it's not even from the same project, why would they comment on it?