And I don't mean to pick on request() (it's really useful), just a good example of strings being preferred over structured data.
-
-
Replying to @mountain_ghosts
@jcoglan I'm all for structured data but it gets mashed together into a url, sent, and then parsed again anyway.1 reply 0 retweets 0 likes -
Replying to @allgebrah
@allgebrah The value is that a URL library does the encoding for you rather than you doing it by hand.1 reply 0 retweets 0 likes
Replying to @mountain_ghosts
@jcoglan I only see a problem with that if you construct the argument for request() at runtime. That would be when to use a library.
2:53 PM - 23 Dec 2013
0 replies
0 retweets
0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.