The definition of continuity used by your teacher is the nicer one. It tells you pretty concretely what continuity means.
Suppose b∈f(x). That means that given all the information of x, possibly an infinite set of tokens (atoms), the function produces some element that has the atomic piece of information b. (It could have other information too, but we are not concerned with that at the moment.) Your teacher's definition says that it is not necessary to look at all the infinite information of x in order to produce the output information b. Some finite subset of x is enough to produce it.
(Melvin Fitting's book "Computability theory, semantics and logic programming", Oxford, 1987, calls this property compactness and defines a continuous function as being monotone and compact.)
This is the essence of continuity. To get some finite amount of information about the output of a function, you only need a finite amount of information about the input. The output produced by the function for an infinite input is obtained by piecing together the information it produces for all finite approximations of the infinite input. In other words, you don't get any magical jump in going from the finite approximations to their infinite union. Whatever you get at infinity, you should already get at some finite stage.
The standard equation f(⋃x∈Dx)=⋃x∈Df(x) is pretty to look at, but it doesn't tell you all the intuition I have explained above. However, mathematically, it is equivalent to your teacher's definition.
To show that ⋃x∈Df(x)⊆f(⋃x∈Dx), it is enough to show that f(x) is included in f(⋃x∈Dx), for each x∈D. But that follows directly from monotonicity of f because x⊆⋃x∈Dx. So, this is the "easy" direction.
The other direction, proved by your teacher, is the interesting one: f(⋃x∈Dx)⊆⋃x∈Df(x). To see this, use the intuition I have mentioned above. Any atomic piece of information b in the left hand side comes from some finite approximation of the input: x0⊆fin⋃x∈Dx. That is, b∈f(x0). Since x0 is finite and it is included in the union of the directed set, there must be something in the directed set that is larger than x0, perhaps x0 itself. Call that element z. By monotonicity, f(x0)⊆f(z). So, b∈f(z). Since z∈D, f(z)⊆⋃x∈Df(x). So, now b is seen to be in the right hand side too. QED.
As you have noted, showing that your teacher's continuity implies the pretty equation is the easy bit. The harder bit is to show that the pretty equation, despite looking like it is not saying very much, really does say everything in your teacher's definition.