4 ms·
Short idioms are essential for concision in specific domains though. My favorite example: I was writing some graphics code recently, and some reviewer said: "I
by quotemstr 9y ago
Short idioms are essential for concision in specific domains though.
My favorite example: I was writing some graphics code recently, and some reviewer said: "I don't understand this uv abbreviation that appears all over the code. Please expand it."
headdesk.gif
(For those who aren't familiar: u and v are conventional names of texture coordinates, like x, y, and z are conventional names of spatial coordinates. There's no abbreviation to expand.)
- javajosh 9y agoI am sure you are right, but I can't figure out what "xy" would mean in a program, either. Perhaps all the points on a plane normal to z?
- krylon 9y agoI used to use x and y as my generic loop iteration variables until I worked on code that involved two-dimensional coordinates, and suddenly x and y had very specific meaning. I skipped to i and j, but I am certain there are mathematicians out there who find that confusing, too. I guess, it's about context, too, at least a little.
- lomnakkus 9y ago> I skipped to i and j, but I am certain there are mathematicians out there who find that confusing, too. IME it's pretty standard in most of mathematics to use "i" and "j" as index variables when e.g. doing sums and products over indices/sets. (Though I suppose you could be talking about the use of i, j, k as axes?)