black magic n. A technique that works, though nobody really understands why. More obscure than voodoo programming, which may be done by cookbook. Compare also black art, {deepmagic} , and magic number (sense 2).