in reply to
classical one was:
Classical ones are on the Quine page (which is apparently not maintained anymore).
The shortest non-empty non-cheating one I know is (ends with two newlines)
Another that uses perl's various quoting operators to avoid having to escape stuff dynamically is (no newline)
Update: see Short quines.
Use two parentheses: (Like this: :) )
Use one parenthesis: (Like this: :)
Reverse direction of the smiley: (Like this: (: )
Use angle/square brackets instead of parentheses
Use C-style commenting to set the smiley off from the closing parenthesis
Make the smiley a dunce: (:>
I disapprove of emoticons
Results (66 votes),