flywind
2021-03-25 14:07:29 +08:00
committed by GitHub
parent 76d391a512
commit 045400ad92

View File

@@ -157,7 +157,8 @@ English word To use Notes
------------------- ------------ --------------------------------------
initialize initFoo initializes a value type `Foo`
new newFoo initializes a reference type `Foo`
via `new`
via `new` or a value type `Foo`
with reference semantics.
this or self self for method like procs, e.g.:
`proc fun(self: Foo, a: int)`
rationale: `self` is more unique in English