it depends on the kind of code you write. i guess if you're writing web server stuff, documenting this makes sense. but in maths-related code, it's pretty standard. you use something very similar to transpose matrices, for example.
(and the original article is dealing with coords in graphics, which is "maths-related code" in my book, but perhaps not in everyone's)