Hacker News new | ask | show | jobs
by spooneybarger 3163 days 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.

1 comments

Thank you. And structs / records? I mean, if there are no instance fields, there has to be some kind of constructs that emulate them.
Sorry, I mispoke. There are no class fields. Only instance fields.