Deep Magic

In computer programming, deep magic refers to techniques that are not widely known, and may be deliberately kept secret. The number of such techniques has arguably decreased in recent years, especially in the field of cryptography, many aspects of which are now open to public scrutiny. The Jargon File makes a distinction between deep magic, which refers to (code based on) esoteric theoretical knowledge; black magic, which refers to (code based on) techniques that appear to work but which lack a theoretical explanation; and heavy wizardry, which refers to (code based on) obscure or undocumented intricacies of particular hardware or software. All three terms can appear in source code comments of the form:

Deep magic begins here...

In fiction, the term comes from The Lion, the Witch and the Wardrobe, the first-written book in C. S. Lewis's The Chronicles of Narnia, which describes ancient laws and codes as "deep magic from the dawn of time."

Many programmers have been influenced by the writings of Arthur C. Clarke, who said, "Any sufficiently advanced technology is indistinguishable from magic."

Such technology may be termed "Advanced Magic". See: Clarke's three laws.

Famous quotes containing the words deep and/or magic:

    But the path of the righteous is like the light of dawn, which shines brighter and brighter until full day. The way of the wicked is like deep darkness; they do not know what they stumble over.
    Bible: Hebrew, Proverbs 4:18-19.

    The work of adult life is not easy. As in childhood, each step presents not only new tasks of development but requires a letting go of the techniques that worked before. With each passage some magic must be given up, some cherished illusion of safety and comfortably familiar sense of self must be cast off, to allow for the greater expansion of our distinctiveness.
    Gail Sheehy (20th century)