top | item 47021309

(no title)

sesm | 14 days ago

> Lists are accessed only via .at()

If clarity is the goal, then data structures that support access by index should be called `arrays` or `vectors`

discuss

order

hedayet|14 days ago

[author here] What @joshuamorton said + my rationale was - for natural language users too, a "list" should be more intuitive than `array` or `vector`

I'm more than happy to be corrected though.

anon291|14 days ago

The idea of being inspired by natural language is completely at odds with also desiring clarity first

joshuamorton|14 days ago

This is very language dependent. People coming from python or Java would call them lists.

Vectors are a mathematical concept unless you use c++.

vlovich123|14 days ago

In Java it’s called Vector / list refers to linked list. Python doesn’t have a linked list type so it’s kinda irrelevant. But also not every language has to be Algol centric even though Algol has largely dominated the design space of popular languages due to familiarity.

rkeene2|14 days ago

Also why num/num32 for Integer types, and no floating point type

hedayet|14 days ago

[author here] Very good questions; I definitely would like to revisit num32 very shortly. I'd say the initial rational of having num32 is not coherent right now, but I'll have to verify removing the support.

we have floating point type(It was missing from the type list in readme. I have just updated that seeing this comment. thank you!)

hedayet|14 days ago

now we have only int64 for integer types and float64 for floating point types. Thanks everyone for your thoughtful feedback!