No less than 15 Ruby stdlib classes use protected methods. I don't buy all the protected hate. It's extremely (but rarely) useful.
-
-
Replying to @amcaplan
it's critical for methods that deal with other instances of the same class in ruby, which happens for obvious reasons.
2 replies 0 retweets 1 like -
people hate protected for the same reason they like microlibraries. It "seems unnecessary"
1 reply 1 retweet 0 likes -
but people underestimate the value of small amounts of enforced coordination.
2 replies 0 retweets 1 like -
Replying to @wycats
I take that to mean it's good to reduce the dangers presented by connascent code. And now I'm missing Jim Weirich.
1 reply 0 retweets 1 like -
-
I guess the word "complect" won, and dragged along an entire religion about programming that never gives up.
1 reply 0 retweets 0 likes
whatever the problem you can always bet FP people will show up and offer silver bullets.
12:25 PM - 20 Nov 2016
0 replies
0 retweets
1 like
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.