5 ms·
What do you define as a large project? Like TLOC?
by mattmanser 2y ago
What do you define as a large project? Like TLOC?
- johnisgood 2y agoIn my case the maximum was ~3k LOC.
- mvdtnz 2y agoThat's not just small, it's utterly miniscule. It's most certainly not large.
- johnisgood 2y agoDepends. 3k is pretty much enough for a fully-featured XY. So no context, and differences of the definition of "large". Perhaps if you come from Java, then yeah. shrugs
- magicalhippo 2y agoI'd still call 3kLOC quite small in all mainstream languages. I worked on a Python project which I'd consider as medium sized, ie not small but not large, and it was around 25kLOC. My $dayjob is a Delphi codebase with roughly 500kLOC, which I'd say is large but not huge. Though if you wrote it in something like K[1], then yeah ok, I'd agree 3kLOC probably counts as large. [1]: https://en.wikipedia.org/wiki/K_(programming_language) https://en.wikipedia.org/wiki/K_(programming_language)
- mvdtnz 2y agoI have spent my career working on software that measures its size in MLOC (millions of lines of code). Not because it's Java, but because it's big.
- ForTheKidz 2y agoNah this is miniscule: https://github.com/coreutils/coreutils/blob/master/src/yes.c https://github.com/coreutils/coreutils/blob/master/src/yes.c You can fit a hell of a lot of functionality in 3k statements. Really whether it's considered large or small necessarily must rely on the functionality it's intended to provide.
- stavros 2y agoYou're thinking on "lean" vs "bloated". "Large" and "small" have meanings of their own, and a 3k LOC project wouldn't be accepted as "large" by anyone. "Small", maybe.
- ForTheKidz 2y agoI certainly never described 3k as large, so I'll assume you replied to the wrong comment. If not, let's just agree to use the terms differently.
- crooked-v 2y agoThat's not a "large" project, it's either a toy or a single-purpose tool.
- johnisgood 2y agoA single-purpose tool, and libraries, yes. What is the LOC of cgit? Because I made a lot of changes to it, too, albeit privately. I uploaded most files as project files.
- williamcotton 2y agoThis is 11,682 lines of C (and not including some Lua and Python scripts) according to cloc: https://github.com/williamcotton/webdsl https://github.com/williamcotton/webdsl It's a pipeline-based DSL for building web apps with SQL, Lua, jq and mustache templates. I'd say it's like 90% Cursor Composer in Agent mode. This is probably more like a mid-sized project, right?
- anonzzzies 2y agoQuite nice that.
- anonzzzies 2y agoI've done >100k LoC with Claude; by far most of that is frontend in react/ts which is incredibly verbose and wasteful, so very easy to pack up many many lines quickly without a lot (mostly none) of ROI per line. Which is probably why claude is great at it.