Wenyan: 吾有一计,可助公之访问控制

Created on 19 Dec 2019  ·  3Comments  ·  Source: wenyan-lang/wenyan

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

syntax

Most helpful comment

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

All 3 comments

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

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

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=

Was this page helpful?
0 / 5 - 0 ratings