Day 7: Learning to Think in Functions
After more than three months away from Swift, I'm back with my MacBook Air M5 and learning about functions, parameters, return values, tuples, and parameter labels.
Thoughtful writing on ideas, technology, design, creativity, and the work that shapes how we build, create, and think.
After more than three months away from Swift, I'm back with my MacBook Air M5 and learning about functions, parameters, return values, tuples, and parameter labels.
On my sixth day learning Swift, I explored for loops, while loops, continue, break, and completed the classic FizzBuzz challenge. Today wasn't about repeating code. It was about understanding iteration and control flow.
On my fifth day learning Swift, I explored conditions, comparison operators, logical operators, switch statements, and the ternary operator. Today was less about writing more code and more about teaching Swift how to think.
Today I explored Swift's type annotations, learned when explicit types improve clarity, created empty collections, revisited enums, and completed a checkpoint using sets to remove duplicate values.
Today I learned Swift's collection types including arrays, dictionaries, sets, and enumerations. I explored how Swift organizes data, why different collection types exist, and how enums make code safer and easier to read.

Today I explored Booleans, string interpolation, expressions, and completed my first Swift checkpoint by building a Celsius to Fahrenheit converter.
