Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

吾有一计,可助公之访问控制 #195

Closed
OliverS18 opened this issue Dec 19, 2019 · 3 comments
Closed

吾有一计,可助公之访问控制 #195

OliverS18 opened this issue Dec 19, 2019 · 3 comments
Labels
syntax Suggestions to improve the syntax

Comments

@OliverS18
Copy link

今公蕴大才抱大器,若以「吾有」名之private,「今有」名之public,岂不美哉!【王司徒脸】

@fengsi
Copy link

fengsi commented Dec 20, 2019

一派胡言!普天之下,莫非王土!【Python从不知private脸】

@ZeroAurora
Copy link

好像作者有说过这个会实现的,具体哪一个issue/pr忘了

@ZeroAurora
Copy link

#290

New usage of 今有. 今有 is now used for exported/public variables, while 吾有 is private/scoped. Think of 今有 like module.exports.x=. Think of 吾有 like var x=

@LingDong- LingDong- added the syntax Suggestions to improve the syntax label Dec 24, 2019
@antfu antfu closed this as completed Feb 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
syntax Suggestions to improve the syntax
Projects
None yet
Development

No branches or pull requests

5 participants