I've heard a few times the definition of a continuous function simplified to "Being able to draw the graph of the function without picking our pencil".
A more rigorous definition states that a function is continuous on a domain $(a,b)$ if for all $c$ in the domain $\lim_{x\to c} f(x) = f(c)$.
My professor told us that a function is continuous if it continuous on it's domain, but I seem to doubt that statement because it doesn't respect the "picking pencil" rule.
If we remove a point $p$ on a continuous function where $D=\rm I\!R$ then its new domain is $(-\infty, p) \cup (p,\infty)$.
Therefore this function is continuous along it's domain, so is it continuous?