Day 6: Thinking in Loops
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.
Thoughtful writing on ideas, technology, design, creativity, and the work that shapes how we build, create, and think.
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.
Today I wrote my first real Swift code. Variables, constants, strings, interpolation, properties, methods, numbers, and discovering how Swift encourages clarity.