[GTALUG] Swift vs Go vs Python vs Ruby
Myles Braithwaite
me at mylesbraithwaite.com
Fri Jun 12 17:06:28 UTC 2015
At this week's GTALUG meeting a couple of people asked what Swift looked
like compared to other languages here is an example of a nursery rhyme:
Swift:
<https://github.com/myles/five-little-monkeys/blob/master/five-little-monkeys.swift>
Go:
<https://github.com/myles/five-little-monkeys/blob/master/five-little-monkeys.go>
Python:
<https://github.com/myles/five-little-monkeys/blob/master/five-little-monkeys.py>
Ruby:
<https://github.com/myles/five-little-monkeys/blob/master/five-little-monkeys.rb>
I also mistakenly said that Go and Swift look like Python but Go and
Swift look nothing a like. After some more research I should have said
Go and Swift look the same but take a lot of influence from Python and C.
More information about the talk
mailing list