LaTeX, LLMs and Boring Technology

10 points by carlana


dzwdz

The main criticism of boring technology is typically that it's "too big, full of cruft, difficult to understand". LLMs really help cutting through the learning curve though, and all that "cruft" is very likely to become useful some time in the future when you graduate from the basic use cases.

Do they? Or do they just help you generate code that's not really that readable, and that you don't understand? I think the ease with which code can be read and understood is much more important than how hard it is to write[1]. We should get rid of the rough corners, not automate them away. This results in worse code long-term.

I also don't see why "cruft" would ever be useful, but maybe we're thinking of different things there.

[1] This is mostly a general point, but I think it applies to markup languages too. You don't publish the first drafts, do you?


For finding the right math symbols, I rarely need to scan reference materials any longer.

Me neither, detypify is pretty reliable. But I also find Typst's symbol names to be pretty obvious and intuitive for the most part - I often just guess and get it right. They also work with autocomplete. If I'm looking for e.g. one of the integral symbols, I can type in integral., and see all the "subsymbols".


Ignoring LaTeX's equation notation and doing their own thing is one of the biggest mistakes Typst makes, in my opinion. LaTeX's notation may not be perfect, but it's near universal at this point with support in almost all math-aware tools.

LaTeX's math notation sucks. I can easily keep up with math lectures when writing in Typst; I can't imagine ever doing this in LaTeX.

The author uses Green's Theorem in the article as an example of something where they can just reach out for an LLM instead of typing out the LaTeX, so let's use it to compare both - it's a nice complex example:

(The LaTeX version lacks the upright "d" in derivatives, because I didn't want to use up more space. Typst's dif also ensures the spacing is correct.) To compare:

I get it, LaTeX is ubiquitous, I also have to still use it from time to time. I usually just write it directly - but I have friends that write equations in Typst first and then use pandoc to convert them to LaTeX, because that's just so much more convenient.

LaTeX's success is not a reason not to develop alternatives, IMO.

On that note,

LLMs will easily answer questions like [...] or "write the latex for Green's theorem, integral form".

I don't think this is necessary with Typst. Besides, I'm not really convinced of how useful LLMs are here?


Some more minor points:


I'm worried that LLMs will make us stick with "good enough" tools, when I think our tooling could still use a lot of work and polish.

I remember thinking that IDEs filling out boilerplate for you was silly - sure, this helped you write code, but the boilerplate also makes the code hard to read - and that just hides the problem. That's solving one of the symptoms, instead of the core problem. I hoped people would wisen up - but we've just made the problem much worse.