Phix does not force the use of an objected orientated programming paradigm, but allows it where appropriate.
The following is simply a collection of rosettacode entries that make use of any class or struct handling.
Note that the rest of Phix uses copy-on-write semantics, such that after
object a = something, b = a modifying a or b will leave the other intact, whereas structs and classes are proper references, such that after
myclass a = new(), b = a modifying a or b will modify them both.
These features are mostly implemented via the auto-include builtins\structs.e, but of course also tightly integrated into the main language parser.
Pages in category "Phix/Class"
The following 23 pages are in this category, out of 23 total.