This is true in almost any context involving 2D/3D graphics, not just for this particular example. It's much more efficient than trying to sit there and think through the math or figure out what does what. But of course you learn less that way, so it's a tradeoff. And sometimes it's less efficient if there are too many combinations to efficiently bruteforce, or if it takes too long to test each iteration. But we live in the age of rapid-iteration javascript.
(I still remember how people would describe trig in high school, it is a wonder more teachers didn't explain the cos = x, sin = y thing. Probably because my teachers did not understand math.)
Heh. Yeah, that matters.
In my experience, US highschools are very much "Okay class, today we're going to memorize these formulas."
One of them explained the x/y thing, another didn't.
We went through the unit circle derivation in the 8th grade and were thus showed why cos is conventionally x and sin conventionally y.
Note that my experience involved going to a supposedly "good" school district. There is the entirely unrelated problem of schools varying in quality based on where you live.