TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

What is the largest source code you've seen on a single file?

4 点作者 Leustad大约 7 年前
What is the largest source code you seen/worked on in a single file in terms of line numbers. Give us examples plz.

3 条评论

w8w00rd大约 7 年前
I do js so its rare to see a LOC over a few Ks, largest I've seen was about 15K. I know google and facebook have >100K LOC client side JS projects when compiled, I doubt those are in native JS though.
评论 #16501931 未加载
Piskvorrr大约 7 年前
There&#x27;s Adminer, which is some hundreds of kB in a single file...but that&#x27;s a feature of the build: after packing <i>eeeeverything</i> into one file, it&#x27;s supposed to be deployed like that; development happens on many sensible-sized files.<p>I seriously doubt anyone actually <i>edits</i> files over 10 K lines nowadays, even though a script might pack the result into a much larger one.<p>(Back When Dinosaurs Reigned The Earth, I&#x27;ve worked on a monolithic script of about 50 K lines, but that was just as convenient as you would imagine)
atticusberg大约 7 年前
The first company I worked for had a 10k line java file that comprised ~90% of their codebase