• Teaser Home

    Clean Code Developer School

    Saubere Softwareentwicklung üben – regelmäßig, fokussiert, individuell, angeleitet

Long Tweets

Architecture Kata “Long Tweets”

Develop a Twitter service to help sending tweets longer than 140 characters.

If a tweet exceeds 140 chars it will be shortened before posting it on Twitter – and a URL is appended pointing to the full text. This poem:

would become

URLs in the original text should of course be shortened first.

The page the URL at the end of the shortened text is pointing to should show the full text, the sender with her Twitter picture and the sending date:

2

Variation #1

The original text may contain markdown annotations which are suppressed in the shortened version published on Twitter. But the full text page should render it. (Implement at least # (H1), ## (H2), * (bold), _ (italic).