tags:

views:

149

answers:

1

I've coded quite a lot of projects both academically, personally, and commercially.

And the one thing that always has seen me through is...

Arrays.

Sure you create structures or Objects (to put into those arrays), but in the end its held and manipulated via arrays.

My question is do we really need anything else?

Also on a similar vain, is OOP in general i.e. a Class that is nothing more than a glorified Structure?

perhaps we need a new paradim called Data Oriented Programming (DOP) (basically structs/class + Arrays) :)

Darknight

A: 

What you are claiming is called functional programming.

Stefano Borini
How so? I don't see any similarity. Especially arrays are not typical functional constructs (since they're impossible to manipulate in languages without side effects)
jalf
That you can use an array as a list, and a list is all you need in functional programming. The OP is wondering if you really need anything else, and no, you can program purely with a list as a unique data structure.
Stefano Borini