Re: [docs and wiki] How many data-types do we emphasize?
- Posted by euphoric (admin) Jan 29, 2021
- 1221 views
_tom said...
five
object|number|integer|sequence|string
Phix has five.
┌───── object───────┠│ number │ sequence │ │ │ │ │ │ │ integer│ string │ └───────────────────┘ object ---------------- | | number sequence | | integer string object /\ / \ number sequence | | integer string
This is a good question. At first, I'm like, the classical three. Start with the atom. Tell them you can group atoms in sequences. And objects are an umbrella term for any and all types.
However, I like the option for five because Phix actually has functionality that deals with the string type.
I think the 5 types is the best option.