Just to be sure, this was about using TeX, not LaTeX. The relationship between them is much like Ruby and Rails: LaTeX is a package of macros that operate on the TeX programming language.
TeX is an enjoyable language for programming--it's something like writing in lambda calculus. It's too bad most people don't realize it's a complete language. I use it all the time for generating automated documents and such.