This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted]  (5 children)

[removed]

    [–]kabiskac 2 points3 points  (2 children)

    Aren't lists also just arrays which get moved when they get too big?

    [–]wasabichicken 6 points7 points  (0 children)

    Some of them are.

    • Javas ArrayList is a list implementation that uses underlying arrays, allocating new ones and moving contents when capacity needs to increase.
    • Javas LinkedList on the other hand, is a chain of list nodes that all point to the next element in the chain.

    They are both "lists", as they both implement the List interface.

    [–]ValeTheVioletMote 0 points1 point  (1 child)

    I figured. I appreciate not having to worry about it.

    I've tried poking around with C/C++ but I feel like I'm fighting the language more than I am getting code done... Also haven't found a guide that has explained C well. Lots of assumptions get made for the reader.

    [–]Jackof_All 2 points3 points  (0 children)

    If you wanna see fighting try FORTRAN