3 ms·
Quote from his Bresenham algo: "It is definitely inefficient (multiple divisions, and the like), but it is short and readable." Well, this wasn't the case for
by _the_inflator 5y ago
Quote from his Bresenham algo: "It is definitely inefficient (multiple divisions, and the like), but it is short and readable."
Well, this wasn't the case for all my Amiga 500 optimization efforts back then in the early 90th. Mix that with machine language and you simply hate yourself a couple of weeks/months/years/decades later, when you simply do not understand what you were doing at the time of writing the code, even though you commented it.
While I really enjoyed pushing the technical limits for fun and visual effects, too much trickery killed understanding and I am glad to use compilers nowadays. It is like plain text vs encrypted text going though my old source code. Very hard to read, very hard to understand.