Subclassing hierarchy of Strings and Arrays

BlitzMax Forums/BlitzMax Programming/Subclassing hierarchy of Strings and Arrays

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

A 2 dimensional array is nothing more than an array of arrays, essentially.
However there is a difference between rectangular (2D) and jagged (Array of Arrays) arrays.

Maps and Trees are nothing more than lists of lists.
That's because in LISP (List Processing) everything is a list, as opposed to OO languages where everything is an object.

That's one really nice thing about lisp and this type of a classification hierarchy
This has nothing to do with "this kind of structure". It is because everything in Lisp is a list. Now oppowsed to what they thought back in 1958, a list is not the best solution for every problem.

Before you answer, think about this: How would you reverse a non-linaer datastructure (like a Graph)? I know you're a big fan of Lisp, but you are in a minority.