Skip to content

Instantly share code, notes, and snippets.

@gonsolo
Created May 29, 2019 15:56
Show Gist options
  • Save gonsolo/3535eff3263e7038985ec8d514c473e4 to your computer and use it in GitHub Desktop.
Save gonsolo/3535eff3263e7038985ec8d514c473e4 to your computer and use it in GitHub Desktop.
The worst of the worst, part I
func a() {
print("a")
}
func b() {
print("b")
}
func c() {
print("c")
}
func bla() {
for i in 0...2 {
if i == 0 { a() }
if i == 1 { b() }
if i == 2 { c() }
}
}
bla()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment