News for hackers. Stuff that matters.
Re:Coding Skill and the Decline of Stagnation by calebmpeterson on Friday January 13, 2012 @04:10PM (#3462420)
Wait... why wasn't the sprite responsible for rendering itself from the beginning?

  sprite.render(context);
or some such...
Re:Coding Skill and the Decline of Stagnation by groby_b on Friday January 13, 2012 @07:23PM (#3463039)
Because that's roughly the worst way to render sprites, in terms of performance :)

You want sprites to be an array, and render that in one go.

Re:Coding Skill and the Decline of Stagnation by angersock on Friday January 13, 2012 @06:12PM (#3462818)
ssssshhhhhhh

(contrived example for making a point... visiting a draw() method with a solid renderer interface is the answer we usually use)