Quantcast
Channel: namespace – JacksonDunstan.com
Viewing all articles
Browse latest Browse all 7

Namespaces As Function Pointers

$
0
0
One lovely trick C/C++ programmers can use is to replace conditional logic (eg. if statements) with function pointers if the result of the conditional logic is a loop invariant. Function pointers do exist in AS3 in the form of the Function class, but they are a dynamic class whose usage is very slow. AS3 also […]

Viewing all articles
Browse latest Browse all 7

Trending Articles