I'm working on modernizing Rosetta Code's infrastructure. Starting with communications. Please accept this time-limited open invite to RC's Slack.. --Michael Mol (talk) 20:59, 30 May 2020 (UTC)


From Rosetta Code

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.