Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Align with the Orthogonal Classes framework #82

Open
erights opened this issue Apr 8, 2017 · 2 comments
Open

Align with the Orthogonal Classes framework #82

erights opened this issue Apr 8, 2017 · 2 comments

Comments

@erights
Copy link

erights commented Apr 8, 2017

https://github.com/erights/Orthogonal-Classes

In this syntactic framework, private fields would be declared as

class Foo {
    own #bar = 3, #baz = 4;
    // ...
}

This declares and initializes a public instance fields named "#bar" and "#baz". See https://github.com/erights/Orthogonal-Classes for details and rationale.

attn @allenwb @littledan @zenparsing

@ljharb
Copy link
Member

ljharb commented Apr 8, 2017

@erights this issue has an example of public fields; did you intend it to be an example of private ones?

@erights
Copy link
Author

erights commented Apr 8, 2017

@ljharb Oops. Copy-edit-paste doesn't work so well when I forget the edit step.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants