Odd Swift collections behaviour
Apple has released its new language, Swift, on the unsuspecting beta masses, and it’s pretty swell. However, there’s an oddity in the behaviour of its collections (dictionaries and arrays) that deserves to have some light shone on it.