Classes - #229
Conversation
Class instances are now always created via ClassName.new()
This paragraph is obsolete. Clip.
Whoopsies. Leading `_`s only.
|
As extensively discussed off-RFC, I still feel banning users from defining As someone who's used the WIP experimental classes feature for useful code, I very much appreciate that POD structs (classes with default constructor) just look like named tables. I still feel |
I proposed an alternative solution for this on this comment here, for anyone to see: |

Rendered
We jumped the gun on merging this RFC. Some light edits are necessary.
Most notably, creating new class instances is now always done via a static
.new()method.Class constructors are described separately at #210
Inheritance is described at #230