When I was a student, my CFI taught me the same thing and to always exit to the rear of the aircraft. When I first soloed, he got out with the engine running and that still made me nervous.
The guy I bought my company from had a tenant in his hangar with a T-28. He also had a Jack Russell...