[GTALUG] Swift vs Go vs Python vs Ruby

Marcelo Cavalcante kalibslack at gmail.com
Fri Jun 12 21:31:14 UTC 2015


2015-06-12 14:06 GMT-03:00 Myles Braithwaite <me at 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/


More information about the talk mailing list