Well in languages such as D and Lisp. That question has another cavet. Why not just mutate it during compilation into runnable code?
Compile time function execution (CTFE) is the action of executing a piece of code during the compilation or processing of some other code. Generally in languages that are only ever ahead of time compiled such as D. It means that code can be generated and executed based upon arguments.
This is especially exciting when reflection capabilities are tied into it. Allowing for all sorts of efficient runtime execution generated code.
Richard is from New Zealand. He recently graduated from Christchurch Polytechnic Institute of Technology with a degree in ICT.In the D community he is known for DOOGLE (GUI toolkit), Cmsed, Dvorm and more recently Devisualization.He has a strange fascination towards CTFE and its many uses. For this reason alone Cmsed, has significant CTFE usage in helping optimise routing and database work.
Leanpub requires cookies in order to provide you the best experience.