def. SmokeAndMirrors - The act of creating code that cannot be deciphered.
Warning - may cause insanityDebugging this code usually requires chasing call by reference, "in-out variables", etc. through thousands of lines of codes and numerous classes.
Please feel free to add examples of SmokeAndMirrors coding below.
When I was first at university in the 1970s as a young lecturer a senior colleague had a research student who had written a suite of programs in FortranLanguage. Part of it was an iteractive front end (text) which used assigned goto statements, which went to different points in the code depending on a variable. This code had never been tested because the university computer was not powerful enough. My senior colleague gave a copy of the code to someone who took it to Australia who wrote to us to say there was a bug in it. I was asked to test this out. By this time we had a computer which would run the code. I verified that there was a bug and wrote to say so. -- JohnFletcher
See also WriteOnlyCode.