▲ | newswasboring 4 days ago | |||||||
>This is a type declaration. The keyword actor means we are going to define an actor, which is a bit like a class in Python, Java, C#, C++, etc. Pony has classes too, which we’ll see later. > The difference between an actor and a class is that an actor can have asynchronous methods, called behaviours. We’ll talk more about that later. Who wrote this[1]? The Doctor? [1] https://tutorial.ponylang.io/getting-started/how-it-works | ||||||||
▲ | Timwi 4 days ago | parent [-] | |||||||
I personally thought it was pretty well-written. It sticks to the details that are relevant in the moment so it doesn't detract or get bogged down, but it does let you know what other things are there so it doesn't feel limited or barebones. | ||||||||
|