Amazed at how well this works really.pic.twitter.com/h55RuLdmya
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
I like the enum based implementation! Although the impl is a bit more obscure (fn overloading).
Haha, yeah: just to clarify -- that's currently not possible, and probably would never be (in the way that I wrote it out) because information is missing from the function signature. Was trying to link to a thread I wrote earlier, but looks like the Twitter UI rendered it weird
Isn't that right image just a more verbose match?
It scales up for more complex cases. Imagine each type had its own disjoint methods, for example.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.