Friday, May 15, 2009

SPEL - the virtue

With SPEL (macro) "lets us write exactly what we want to say without a lot of fat- It's almost like we've created our own computer language just for creating game commands. Creating your own pseudo-language with SPELs is called Domain Specific Language Programming, a very powerful way to program very quickly and elegantly."





(casting SPEL to fool the compiler seeing a different form)

Code without a lot of fat will be DRY and it may also attack the essense of the problem to solve - it's like casting SPELs .



No comments: