Expanded Thoughts on Swift’s Type Inference

In my recent op-ed on clean coding in Swift focused on Type Inference, I began by saying, Quick!  Tell me!  What is the Type of the  birdDetails constant in this code example:

With no additional context to glean information from, the correct answer to the question is, “I have absolutely no clue…” But is that concluding assertion true?  Hmm… […]

Clean Coding in Swift – Type Inference

Quick!  Tell me!  What is the Type of the  birdDetails constant in this code example:

With no additional context to glean information from, the correct answer to the question is, “I have absolutely no clue…”  Or is it? “Not fair!”, you say.  “In the real world, I’d have the ability to option-click and learn the type from […]