1
edit
Changes
→FLEXIBILITY: Data Types
-incomplete-
== FLEXIBILITY: Data Types ==
=== Custom Functionality ===Linked lists tend to be very flexible. Due to the fact that they are written by hand, all kinds of functionality can be added to them. Things such as:* Automatic allocation/de-incomplete-allocation of objects* Custom linking structures* Custom index operators* Unique search algorithms* Automatic update of external code* Automatic logging/reporting* Future extensibility* Etc, etc, etc... === Data Type Hiding ===Since the implementation of a linked list is custom, the programmer may very well implement the list in any way that they may see fit. This effectively hides the data being stored from the watchful eyes of the calling program. As well, the actual location of the data is effectively random (as opposed to being sequential) which means that the data is that much harder to find. This adds a simple layer of security that arrays simply do not afford.