Jack be nimble, Jack be Swift (TM)

Jack be nimble, Jack be Swift
Jack use guard instead of a nested if.

Jack Gnass only used class
His wife enum and struct
And till they worked together
Each’s programs really sucked.

Little Jack Hayground
Opened a playground
And put in his new code to try
When the code didn’t run
He knew he wasn’t done
But said “What a good tester am I!”

Jill and Jack released an app
For fetching pails of water
The server went down with an unhappy sound
And the company closed soon after.

var result = 0
let data = [1, 2, 3, 4] // FIXME: test data
data.forEach {
  result += $0
}
print(result)

This is a poem
written by the developer
who sent the review
that prompted the commit
that added the comment
that described the expression
that constructed the type
that conforms to the protocol
that’s the base of the extension
that contains the method
that called the closure
that captured the variable
that was displayed by the call to print
in the language that Jack Chris built.

Following up on last year’s “Sweet Swift Sleep”. I’m actually pretty sure we didn’t trademark “Swift”, very possibly because there’s already at least one other language named Swift.

Part of Poem-a-Day 2015. Title donated by John W.