by hakaaak · 13y ago · 0 comments
Reading this I see a lot of the reasons I like Ruby: no worrying about different constructors or needing to worry excessively about types. If only Ruby treated everything, even the little bit that is syntax, as mutable objects, it would be near-perfect (and it would basically be Lisp). But, it's close enough.
Maybe if Go could become Ruby...
And there may be a variety of ways of doing things, but that's because (1) Ruby has been more well-used than Go, and (2) it has more flexible loops, etc. to make it less verbose, and yes there are a variety of ways to add methods, attributes, etc. but after you spend a little time to understand how the Ruby object model works, you'll understand why- almost everything is an object. Also, the language has evolved, so there are some differences in syntax between 1.8 and 1.9 but you can still use 1.8 syntax in 1.9.