I can easily link to my archives page by creating a link: <a href="http://server.com/wordpress/archives.php">Archives</a>. As I was editing my WP template, I noticed that there are a number of functions that WP uses to link to other pages. For example get_the_category_list returns a list of links. If I want to make my template more general, it would be nice not to hardcode the URL of my archives page and to use a WP function instead.
In general, how should template designers create links to WP generated pages?