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@awbjs In this case it's purely lexical, so there's no duck typing hazard :)1 reply 0 retweets 0 likes -
Replying to @stefanpenner
@stefanpenner@awbjs the assumption would be that that protocol would use thing.constructor.deepEquals or something.1 reply 0 retweets 0 likes
@stefanpenner @awbjs When writing custom "static" (aka http://self.foo ) constructors in Ruby, I often miss the ability to set ivars
9:07 AM - 11 Nov 2015
1 reply
1 retweet
0 likes
-
-
Replying to @wycats2 replies 1 retweet 3 likes
-
New conversation -
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.

or ⚠︎, etc.