3 ms·
> 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 wi
by choeger 5y ago
> 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."
- pnt12 5y agoThey 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?
- npigrounet 5y agoThis is nothing, back in the day we had a 1M loc Java class.
- sellyme 5y agoWhy on earth is it their job to explain the reason behind a large file in a completely different piece of software?
- int_19h 5y agoThe file is linked from the article, so you can look at it and judge for yourself. https://raw.githubusercontent.com/microsoft/TypeScript/8362a0f929d74ff46828016ec67c05744a8dbb3c/src/compiler/checker.ts https://raw.githubusercontent.com/microsoft/TypeScript/8362a...