Skip to content

Instantly share code, notes, and snippets.

@gusthavosouza
Created June 18, 2019 14:52
Show Gist options
  • Save gusthavosouza/c1654797270b067e6823ef995dac657b to your computer and use it in GitHub Desktop.
Save gusthavosouza/c1654797270b067e6823ef995dac657b to your computer and use it in GitHub Desktop.
struct Person {
var about: String
var firstName: String
var lastName: String
var job: String
func printPerson() {
print("About \(firstName) \(lastName)")
print("\(about)")
print("May be working as \(job)")
}
}
let gustavo = Person(about: "I've been working as a Software Engineer. I live in a small city near to Sao Paulo city just 30 miles away. I spend most of my days working on Backend services, Mobile development (Android & iOS) and some web stuff." ,firstName: "Gustavo", lastName: "de Souza", job: "Sort of Software Engineer")
gustavo.printPerson()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment