News for hackers. Stuff that matters.
Re:Bit.ly is Harmful to Your Reputation by Lol_Lolovici on Sunday May 09, 2010 @06:16AM (#1331805)
> our API responses and the innumerable clients and scripts that use these methods aren't currently designed with this state in mind

Well, you could just return the original URL when it is already shortened and this way there is no new "state" to worry about.

Re:Bit.ly is Harmful to Your Reputation by PanMan on Sunday May 09, 2010 @07:16AM (#1331840)
Offcouse that IS a new state. If I call bit.ly's shorten function, I expect a bit.ly link back, not the original URL. I can imagine, for example, not saving the bit.ly part in a db, only the identifier. That breaks (without proper checking) if the original URL is returned.