3 ms·
The interesting thing about this is that TeX continues to be reused 45 years after its inception; new libraries show up on CTAN regularly, and of course TikZ an
by kragen 7y ago
The interesting thing about this is that TeX continues to be reused 45 years after its inception; new libraries show up on CTAN regularly, and of course TikZ and LaTeX are far from being in the original design of TeX. Very few libraries have shown the survivability and versatility of TeX. So maybe the way we think about software reuse is wrong.
You seem to be claiming that 20,000 lines of code constitutes a large program. Is that really your intention? I mean libjpeg is 34,000 lines of code, and LAPACK 3.6.0 (one of the very few libraries that excels TeX in reusability and enduring value) is 685,000 lines of code, and each of them is just a small part of many programs. I would instead describe the monolithic parts of TeX and METAFONT as small programs of only 20,000 lines of code, omitting even dependencies on libraries.
- svat 7y agoYeah as I said it was a tongue-in-cheek comment and I don't believe it, just wanted to provoke some discussion. :-) But in any case what I meant is that TeX/MF are among his biggest programs (that I know of), not that 20000 lines is a large program (he calls it "medium" IIRC). (Ironically, in my previous job supposedly using "modern" programming practices, a single Python file had organically grown to over 25000 lines in length and people complained to GitHub about the file not being rendered in full in the browser.)
- kragen 7y agoI think the SAT solver he wrote recently is several times larger, but otherwise I agree.
- rumanator 7y ago> The interesting thing about this is that TeX continues to be reused 45 years after its inception; (...) So maybe the way we think about software reuse is wrong. Incidentally you got it completely backwards. TeX is used because it's a convenient interface between higher level descriptions (i.e., book content) and the lower level output (pretty document formats). Thus, once again abstractions and interfaces show their value. Additionally, TeX is used rarely by humans, while LaTeX is the tried and true workhorse. Again, an abstraction that targets a interface. And how many TeX and LaTeX reimplementation a are there? Again, the interface and abstractions show their value.
- kragen 7y agoIt sounds like you don't know what TeX and LaTeX are and how they relate to each other.
- rumanator 7y agoOf course that's the case, but thankfully we have you, kragen, to thank for your work in accusing others of being ignorant and clueless while knowing nothing at all about anyone or anything, and adding nothing of value to the discussion in the process.
- kragen 7y agoThere's nothing to be gained by trying to persuade aggressively ignorant people. If they want to go around knowing nothing at all about anyone or anything, that's their right, and it's impossible for me to stop them. The best I can do is keep them from misleading innocent bystanders.
- kortilla 7y agoAnd how would you do that? You haven’t said anything of substance to refute GP’s statements.
- kragen 7y agoIn cases of aggressive trolling like those statements, I think it's sufficient to point out that they're obviously wrong and assume that people will then check Wikipedia before relying on them. That doesn't work if my contradiction gets flagged, however.
- kragen 7y agoThe above comment amounts to aggressive trolling. Anyone who googles "TeX" or "LaTeX" can easily see that it isn't so much wrong as it is too incoherent to have a truth value; LaTeX is an embedded domain-specific language implemented in, and used from, the TeX language, the interpreter for which was the topic of discussion. So it makes no more sense to talk about people using LaTeX without TeX than to talk about people using Rails without Ruby. It's unfortunate that my shorter correction to this troll comment has been flagged, forcing me to write this longer and less courteous rebuttal.