In Germany, our English teachers always taught us that contractions like "didn't", "he's", "won't" and so on are perfectly valid to use also in written English. The only difference to writing the long version, consisting of two words, was that it would only count as one word. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.