←back to thread

Be Aware of the Makefile Effect

(blog.yossarian.net)
431 points thunderbong | 1 comments | | HN request time: 0.25s | source
Show context
ruuda ◴[] No.42663877[source]
I think LaTeX is the poster child of this. Nobody writes a LaTeX preamble from scratch, you always copy your previous document and tweak it.
replies(3): >>42664055 #>>42664397 #>>42665522 #
sandbach ◴[] No.42664397[source]
Don't do that! If you're always using the same preamble, you should turn it into a .sty file. Then the preamble of new documents is just

  \usepackage{myessay}
replies(2): >>42665379 #>>42669180 #
1. fph ◴[] No.42669180[source]
Then you make a change to myessay.sty and suddenly four of your old files stop compiling.