Group Abstract Group Abstract

Message Boards Message Boards

8
|
5.5K Views
|
2 Replies
|
12 Total Likes
View groups...
Share
Share this post:

Idea: Well-specified consistent array/list interface

Posted 9 years ago
POSTED BY: Szabolcs Horvát
2 Replies

"Everything is an expression" is probably the general characteristic that I most love in Mathematica.

And then Images were born... The need for a different way to treat these "huge" objects was pretty obvious. The solution, in the case of the Images, in my opinion, was proven acceptable, but I wonder which other solutions were on the table.

And then Associations came, and a feeling that Mathematica had just developed a taste for Atoms... But I remember hearing someone say, when Association were live announced, that, "for now", Associations were Atom, but that it was still a possibility of making them non Atom on future releases. Not sure if that was meant as an implementation or as a global behaviour. But now that the new technology is being built on top of these structures, I guess that that option is probably out.

Besides the obscure nature of Atom structures, which I think goes against Mathematica "brand", they tend to become incomplete and messy on the edges. So, I'm completely with you. A solution is needed before it gets out of track.

Cheers,

POSTED BY: Pedro Fonseca

I would definitely include Associations. I was actually thinking the same thing some times ago, we get more and more 'types' of data. ByteArray being the newest addition. It reminded me a bit of labview wires types:

enter image description here

Over time they got more and more data types, that can be converted to each other and so on....

I'm not sure what the solution for Mathematica is though; all these new 'datatypes' are made for memory efficiency (most) or convenience/speed (Dataset/Associations).

EDIT: Yeah fully agree a function like ListQ that tells us if that object (data type) conforms to the 'list concept' (with a good definition of that somewhere in the documentation) would be useful! ListConceptQ?

POSTED BY: Sander Huisman
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard