forked from Mirror/wren
TODO note about refactoring classes and method-calls documentation. As a user of the documentation, I found some aspects confusing about this, particularly the operator section. There should be an example of how to define custom operators on the Classes page.
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
^title Classes
|
||||
|
||||
**TODO: Refactor `method-calls` and `classes` into using and creating classes.**
|
||||
|
||||
Every value in Wren is an object, and every object is an instance of a class.
|
||||
Even `true` and `false` are full-featured objects, instances of the `Bool` class.
|
||||
|
||||
|
||||
@ -1,5 +1,7 @@
|
||||
^title Method Calls
|
||||
|
||||
**TODO: Refactor `method-calls` and `classes` into using and creating classes.**
|
||||
|
||||
Wren is object-oriented, so most code consists of method calls. Most of them
|
||||
look like so:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user