| ▲ | loeg 14 hours ago | |||||||||||||
Does it really matter where the lines are? 16,000 lines is still 16,000 lines. | ||||||||||||||
| ▲ | vodou 13 hours ago | parent | next [-] | |||||||||||||
Even though I do find your indifference refreshing I must say: it does matter for quite a few people. | ||||||||||||||
| ||||||||||||||
| ▲ | jiggawatts 9 hours ago | parent | prev | next [-] | |||||||||||||
... yes. If it was 16K lines of modular "compositional" code, or a DSL that compiles in some provably-correct way, that would make me confident. A single file with 16K lines of -- let's be honest -- unsafe procedural spaghetti makes me much less confident. Compiler code tends to work "surprisingly well" because it's beaten to death by millions of developers throwing random stuff at it, so bugs tend to be ironed out relatively quickly, unless you go off the beaten path... then it rapidly turns out to be a mess of spiky brambles. The Rust development team for example found a series of LLVM optimiser bugs related to (no)aliasing, because C/C++ didn't use that attribute much, but Rust can aggressively utilise it. I would be much more impressed by 16K lines of provably correct transformations with associated Lean proofs (or something), and/or something based on EGG: https://egraphs-good.github.io/ | ||||||||||||||
| ||||||||||||||
| ▲ | afiori 12 hours ago | parent | prev [-] | |||||||||||||
Part of the issue is that it suggests that the code had a spaghettified growth; it is neither sufficient nor necessary but lacking external constraints (like an entire library developed as a single c header) it suggests that code organisation is not great. | ||||||||||||||
| ||||||||||||||