Stage O ECMAScript proposal: Encapsulated Private State. By myself and @wycatshttps://gist.github.com/wycats/714a01ae7ff22bea7888 …
-
-
Replying to @stefanpenner1 reply 0 retweets 0 likes
-
Replying to @stefanpenner
@stefanpenner@wycats A class definition, in its entirety, is implementing an abstraction. No need for internal limitation.1 reply 0 retweets 0 likes -
Replying to @awbjs1 reply 0 retweets 0 likes
-
Replying to @stefanpenner2 replies 0 retweets 0 likes
-
Replying to @stefanpenner
@awbjs@wycats it would be a hazard for those relying on duck-typing, but one can point out duck-typing on private fields is a bad thing2 replies 0 retweets 0 likes -
Replying to @stefanpenner
@stefanpenner@wycats yes, I said i first. But there is still a need for encapsulated state. http://www.wirfs-brock.com/allen/files/tek/variables-limit-reusability.pdf …2 replies 0 retweets 1 like
Replying to @awbjs
@awbjs @stefanpenner Yes, this is a well-known tradeoff in Ruby, but it at least allows you to make the decision consciously.
9:05 AM - 11 Nov 2015
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.