Posts tagged “PHP” Subscribe

  1. Give a hoot

    As any competent JavaScript knows, it’s not cool to litter the global namespace with variables, functions, and the like. Occasionally, however, even closures won't help you trap a given variable.

    Read more…

  2. Speeding up your code with the Bitwise Operator (&)

    While building a Flash game, I wrote some code to alternate through squares on a grid system and it seemed rather slow. My code made use of the % (modulo) operator and, thinking that was the cause, I went in search of a better solution. I blew the dust off the Bitwise operator (&) and researched what it actually does. As it turns out, this little bit of programming’s past can be quite handy.

    Read more…