Content deleted Content added
m put section in the wrong place per wikipedia standards |
m Robot-assisted disambiguation (you can help!): Forth programming language |
||
Line 7:
I removed "Depending on the implementation, code with reflection tends to run slower than that without it." Sure, it does depend on the implementation, but I thought this was unhelpful, because it only applies to a particular kind of reflection. With many types of reflection, such as macros and code compiling code, the whole point is to make the result run faster.
For example, in [[Forth (programming language)|Forth]] you could add up the numbers from 0 to 9 with a loop, or with an unrolled, reflective-style loop:
: count ( -- )
|