The latest incarnation of Internet Explorer 8 adds a new twist to standards compliant web pages. When viewing a webpage in standards mode the user is presented with a compatibility icon that can be toggled to view the page using the Internet Explorer 7 engine.
However, as web master you have ultimate control. By using the X-UA-Compatible meta tag in your documents you can choose which mode you want your page rendered in and hide the button from users.
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
Always uses the latest available rendering engine.
<meta http-equiv="X-UA-Compatible" content="IE=8" />
Display using the IE8 rendering engine.
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
Display standards mode documents in IE7 standards mode, quirks mode documents in IE7 quirks mode.
<meta http-equiv="X-UA-Compatible" content="IE=7" />
Use IE7 standards mode.
A few weeks ago a ran across an old bookmark outlining the esoteric programing language Piet. I spent a little time trying to grok this language along with a few others that I had run across.
Normally when any programmer decides to tackle a language such as this it isn’t for any purpose other then education and perhaps masochism. But I believe it helps in thinking outside the box and it provides a groundwork for greater programing topics such as Turing completeness.
I originally thought I’d write a simple list of odd programing languages I’ve found, but shortly into my search for languages I ran across a wiki about esoteric programming languages which seemed to do the job for me.
But just for fun I’ll post a few languages I’ve run across in my time.
A language created by Urban MÃ¼ller so that the compiler can be made as small as possible. He succeeded in writing a 240 byte compiler and others have since written some that are less then 200 bytes. Brainfuck consists of eight commands notated by the symbols <>+-., all other characters are ignored.
A tounge-in-cheak language which was designed to be as unlike any other programming language as possible. From the manual: ‘The full name of the compiler is “Compiler Language With No Pronounceable Acronym”, which is, for obvious reasons, abbreviated “INTERCAL”.’ To give an example the ‘PLEASE’ modifier in INTERCAL provides two paths of rejection. If a programmer does not use the modifier often enough the program is considered rude and will not run. If there are too many the program is considered too polite and will not run.
A language whose programs are written to look like abstract art. It utilizes eighteen colors which are cyclically related with the hue and lightness of the color, along with black and white which are used to control program flow.