Let $(X, d_X)$ and $(Y, d_Y)$ be metric spaces. My professor defined a map $f: X \to Y$ and made clear that this was a map of "sets." However, he went on to talk about continuity of $f$ and the definition was in terms of these distance functions $d_X$ and $d_Y$. This doesn't make much sense to me, however, if these are just "maps" of sets. We could use any metric on the sets, realistically.
Do we define a function independently of the metric and then talk about continuity only with respect to some metric for $X$ and another metric for $Y$? Once we change either metric, continuity can change. So instead of saying "$f$ is continuous" we really want to say, "$f$ is continuous provided we use the metrics $d_X$ and $d_Y$." Is there a better shorthand convention?