Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Stupid, Clever, or Both?

Name: Anonymous 2007-10-24 2:02

I'm doing some expert programming of a tile-based game in which tile classes have references to anonymous functions that return the proper image for that tile. I figure I might as well not duplicate these. Should I make these functions onymous or just have a picture function manager that lets me get at them easily? It would be dead simple to create onymous functions for them at runtime, but it makes me feel funny to do it.

Name: Anonymous 2007-10-24 18:04

>>10
As for "polluting the namespace", when is that ever going to approach being an issue? Am I going to find myself wishing that I hadn't used up pic-fn-lava or something because I have a game routine that totally should be called that?

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List