When backward is really forward
Posted by kirillcool on March 19, 2007 at 9:17 PM EDT
So, i'm reading a book and in one of the first chapters the authors try to put some reasoning behind an awkward API:
This process means that the last transformation command called in your program is actually the first one applied [...]. Thus, one way of looking at it is to say that you have to specify the matrices in the reverse order. Like many other things, however, once you've gotten used to thinking about this correctly, backward will seem like forward.
Here, instead of acknowledging that the API implementation actually dictates the API usage, the authors try to blame the API users for being too dumb to grasp its beauty. It's not API, stupid, it's you not thinking about this correctly :)
Blog Links >>
- Login or register to post comments
- Printer-friendly version
- kirillcool's blog
- 504 reads





