Random Ruby Tricks: Struct.new http://blog.steveklabnik.com/posts/2012-09-01-random-ruby-tricks--struct-new …
-
-
Replying to @steveklabnik
@steveklabnik I guess I don't see the value of using this over something like a map.1 reply 0 retweets 0 likes -
Replying to @peregrine
@peregrine a hash, you mean? See the whole last section1 reply 0 retweets 0 likes -
Replying to @steveklabnik
@steveklabnik I guess I still don't see it. Seems like an argument for typing. Where a simple hash would do the same thing.1 reply 0 retweets 0 likes -
Replying to @peregrine3 replies 1 retweet 0 likes
-
Replying to @steveklabnik
@steveklabnik haha! Some people would argue the opposite! http://www.infoq.com/presentations/Simple-Made-Easy …2 replies 0 retweets 0 likes -
Replying to @peregrine
@peregrine I think Rich is a smart dude, and I think Clojure and Datomic are neat, but I fundamentally disagree1 reply 0 retweets 0 likes -
Replying to @steveklabnik
@steveklabnik Whats the argument for using a struct over a hash? Just because of the name?2 replies 0 retweets 0 likes -
Replying to @peregrine
@peregrine but for me, “I can start with the trivial class and grow it naturally.”2 replies 0 retweets 0 likes -
Replying to @steveklabnik
@steveklabnik thats a nice article thanks for sharing.2 replies 0 retweets 0 likes
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.