… who’d have guessed so many other people love Struct too?
-
-
Replying to @steveklabnik
@steveklabnik There are so many Struct anti-patterns too. I loath "class Human < Struct.new(:toes, :fingers)"1 reply 0 retweets 0 likes -
Replying to @steveklabnik
@steveklabnik It's unnecessary cleverness that easily confuses things. Structs are only for simple values.3 replies 0 retweets 0 likes -
Replying to @steveklabnik
@steveklabnik Your Birthday example is a perfect example of how I think Struct should be used.4 replies 1 retweet 0 likes
Replying to @evanphx
@evanphx I am pretty sure I learned that trick from @garybernhardt
9:29 AM - 2 Sep 2012
0 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.