Tuple for Your Thoughts?
Andrew Pontious talks with Wolf Rentzsch about the simplest of things, the tuple: what it is, how it is used in other languages (specifically Python), and how, in an alternate universe, it could bring some sanity to Cocoa error handling.
Links:
- Mark All as Read « Brent Simmons (inessential.com)
- Tuple « Wikipedia
- Andrew Pontious tweet: “Y’know, blocks aren’t a great substitute for tuples, but that are a substitute for tuples…sometimes.”
- os.walk « 16.1. os — Miscellaneous operating system interfaces — Python 3.4.0 documentation
- Python Programming/Tuples « Wikibooks
- If You Look at the Error, You Will Crash « Edge Cases
- An NSError Error « Big Nerd Ranch Blog
- Bill Bumgarner tweet: “@rentzsch There are methods that very much do scribble on the error argument, if non-NULL, and will not reset-to-NULL on success.”
- std::tuple « cppreference.com
- javatuples
- Tuple Class (System) « MSDN Library
- 19. Beyond Exception Handling: Conditions and Restarts « Practical Common Lisp, by Peter Seibel
Rejected Episode Titles:
- Oh, That’s Horrible
- Our Day-ta/Dahh-ta Argument
- His Love Is Unconditional
- You Lose Some Cred Points Right There
- The Absolute Wrong Way to Do It
- A Bunch of Bother
- I Forgot the ‘F’
- Wanna Grab Some Lunch?
- A Series of Fixed Objects
- Wolf, You Love It When I Read Code
- A Lot of Stuff to Unpack
- The Idiocy of Using URLs as File References
- “This Method Is Spelled Correctly”
- Who Reads Documentation?
- Singles, Doubles, Triples
- Incredibly Verbose
- Better Living with Tuples
- A Textbook Case of Not Using Tuples
- They Don’t Really Work Together Very Well
- There’s an Error, but I Don’t Care
- Remember When We Used to Pass Structs Around?
- C++ Is the Kitchen Sink of Languages
- Maybe I Was Young and Naive
- I’m Sure Somebody’s Done That
- Kind of a Tourist Trip
- You Should Feel in Good Company
- Not Like an Animal