Category:PhixClass: Difference between revisions

From Rosetta Code
Content added Content deleted
No edit summary
m (Blanked the page)
 
Line 1: Line 1:
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 <code>object a = ''something'', b = a</code> modifying a or b will leave the other intact, whereas structs and classes are proper references, such that after <code>myclass a = new(), b = a</code> 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.

[[Category:Phix]]

Latest revision as of 10:11, 25 May 2020

This category currently contains no pages or media.