3 ms·
Pony classes have methods. Pony classes have fields. Fields and methods can be public or private. Private is akin to Java's package private. There are no ins
by spooneybarger 9y ago
Pony classes have methods.
Pony classes have fields.
Fields and methods can be public or private. Private is akin to Java's package private.
There are no instance variables.
- pdimitar 9y agoThank you. And structs / records? I mean, if there are no instance fields, there has to be some kind of constructs that emulate them.
- spooneybarger 9y agoSorry, I mispoke. There are no class fields. Only instance fields.