2015-06-12 14:06 GMT-03:00 Myles Braithwaite <me@mylesbraithwaite.com>:
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. ---
Cool. A few weeks ago I was reading about it. Well, not about all the 4, but about a few differences between Go and Swift, and I found an interesting article about it. If anyone is interested, there“s a good reading: http://blog.translusion.com/posts/a_comparison_of_go_and_swift/