Could that be the start of an introduction to tensor products or even tensors in general ? Start with cartesian product ( or maybe even sql joins ? ) and generalize ? It's probably much more intuitive to us developpers than vector products ( unless you're in 3D graphics or physic engine of course )