glayzzle / glayzzle/php-transpiler

private / protected class members

Open
#1 2 comments 0 reactions 1 assignee Claimed by @ichiriac View on GitHub
enhancement feature
Dominant language
JavaScript
Stars
22
Forks
4
PR merge metrics
No merged PRs in 30d

Description

In order to make an object property fully private. The closure method is not memory efficient, and not sure about JIT optimisations, but may be bad.

The symbol is a scope free way to index a private property on an object, the scope of the symbol instance beeing declared on the definition level and not a instanciation.

So real private is easy, but sharing protected symbols will be harder ... Question is still open.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.