If you wanted to put a smiley at the end of your sentence that is inside a pair of parenthesis, do you leave the open parenthesis unclosed? Or do you close it? If so, then how?
(This is a sample statement with a smiley at the end :)?
Now what do you substitute '?' with? Nothing? Or a ')' or a ']' ?
Like most of the textbook solutions, the simplest of answers is to avoid the problem altogether! Just don't do it. Never end your sentences inside a parenthesis with smilies!
(There is no need to put a smiley at the end of a sentence inside parenthesis)
But we all know how different the real world is from the ideal ones in the textbook. So the fact is you often want to end sentences in parenthesis with a smiley. This particular solution banks on extremely short attention span of humans and hopes that nobody will ever notice a missing parenthesis. They won't even realize that you opened a parenthesis. And that makes perfect sense, in a world where billions of dollars and hundreds of people vanish without a trace, who on earth would care for one measly missing parenthesis. Ain't it!
(There is no need to close the parenthesis when you end statement with :)
If a programmer happens to read it, your unmatched parenthesis is going to bother him through rest of his day. If you don't want to unnerve your programmer friend, I strongly urge you to always match all your parenthesis!
(If your programmer friend is going to read it, you better match every single open parenthesis, no matter how ugly the end result looks to you :))
If the reader is an expert C programmer who has wasted inhuman hours of his precious life debugging and maintaining someone's unforgiving poorly indented code, you DON'T want to piss him off with lousy indentation (don't even think about not closing an open parenthesis, ever! This particular bread of programmers loathe with their utmost intensity the code that doesn't compile), lest you will be the target of his unwelcome wrath that he has been carefully suppressing through years of frustration with sloppy code he has had to read for the life of his programming career!
If your programmer friend is paranoid about indenting, then this is your best way out :)
Add a square bracket ']'!
Lame! Yes, that is what MBA's of the world do! Impossible solution, often to problems that don't even exist! Not to mention that solution are wrong in every possible way, no matter how you interpret the problem!
(If you are an MBA, you want to complete the statement like this :)']'
Note: Never ever let your programmer friend see you close a bracket that does not match what you opened with! Do that and you will loose him forever! Not to forget the look of contempt on his face every time he sees your name.