Content deleted Content added
No edit summary |
grammar typo fix |
||
Line 6:
Factor is dynamically [[datatype|typed]], and a unique [[Object-oriented programming|object]] system accompanies it. In Factor, there are more than 20 base types, and users can make their own datatypes using tuples. There is no [[Inheritance (computer science)|inheritance]], but there is [[Delegation (programming)|delegation]] as in Self. Additionally, there are other ways to make [[Class (computer science)|class]]es other than types or tuples; Factor supports [[predicate class]]es and union classes. Factor's integrated compound datatypes include [[linked list]]s, [[array|vector]]s and [[hash table|hashtables]]. The language also supports [[floating point]], ratios, [[complex numbers]] and arbitrary precision integers.
When using the stack system
One of Factor's main goals is to be useful for interactive and test-driven development, which is why Factor is, at its core, a safe version of Forth.
|