Your professor is telling you something that is absolutely fundamental to a proper understanding of relativity. Suppose we draw out the trajectory of some object on a space time graph, we may get something like this:

The path traced out by the object(the blue curve) is called the world line. The length of the world line, $s$, is equal to $c\tau$, where $\tau$ is the elapsed time measured by a clock carried by the observer. this time $\tau$ is called the proper time and is a very important concept in both flavours of relativity. The proper time is an invarient, i.e. all observers who calculate it will get the same answer regardless of what coordinate system they are using.
To see how to calculate the length of the world line, $s$, let's zoom in on the curve:

If we approximate the curve by a series of tiny straight lines of length $ds$ then the length of the curve is just given by summing up all the $ds$s:
$$ s = \int_C ds $$
If you know Pythagoras' theorem then you might guess that the length $ds$ is given by:
$$ ds^2 = dt^2 + dx^2 $$
but this is not the case. This is where the geometry of spacetime differs from Euclidean geometry, because the length $ds$ is given by:
$$ ds^2 = -c^2dt^2 + dx^2 $$
We multiply the time $t$ by the velocity of light $c$ to convert it to a distance (in light-seconds) to make the equation dimensionally consistent.
If we allow motion in all space directions the equation becomes:
$$ ds^2 = -c^2dt^2 + dx^2 + dy^2 + dz^2 \tag{1} $$
Equation (1) is called the Minkowski metric, and describes the geometry of flat spacetime. It is the equation that defines special relativity, and it is also the vacuum solution of general relativity that has zero ADM mass. So understanding this equation not only means you understand special relativity, but gives you a start on general relativity as well. In general relativity, where spacetime can be curved, we get the more general form of the equation:
$$ ds^2 = \sum_\alpha\sum_\beta g_{\alpha\beta} dx^\alpha dx^\beta $$
where $g$ is the metric tensor. We get the metric tensor by solving Einstein's equation.
To get back to your question, in special and general relativity the path followed by a freely moving object is the one that minimises the length $s$. If the geometry were Euclidean the path wouldn't be very interesting, but that minus sign on the $t$ coordinate means that in relativity minimising the path length gives us all sorts of interesting behaviour like time dilation and length contraction, and of course in general relativity it explains motion in a gravitational field.
I can't emphasise enough how import this simple idea is. Obviously general relativity is a huge and complex area, but just equipped with what I've described above you can start understanding things like how black holes cause time dilation.