[Tex/LaTex] Are there any disadvantages of TeX being Turing complete

tex-core

I have read that TeX is Turing complete. I was wondering if making TeX Turing complete gave raise to unwanted effects.

Best Answer

Yes, there is a drawback: instead of "only" writing your thesis you start to code LaTeX packages like tikz-timing, standalone, svn-multi and many more. This wouldn't happen if it wasn't Turing complete.


Having it Turing complete enables an infinite number of additions, but of course required some initial investment when TeX was created. All TeX distributions I know make sure that TeX's power can't be used to harm the user, e.g. shell escape is disabled or restricted by default and you can't overwrite files using an absolute or parent folder etc. There is no real drawback for the user but a lot of benefits.

Related Question