4 ms·
You used lists and arrays... so you used data structures?
by tatalegma 13y ago
You used lists and arrays... so you used data structures?
- vonmoltke 13y agoI don't consider an array much of a data structure. Its just a contiguous block of memory with a shortcut for addressing inside. List is at least a "proper" data structure. If "data structure" is defined that broadly, then its nearly impossible to write a non-trivial program without data structures. Its like trying to write without sentences. However, when people around here refer to "data structures" they mean a whole lot more than those two. All of the data structures listed in the post I was replying to are widely considered "standard" data structures that are used all the time. I was pointing out that I worked in a significant, operational codebase of >150,000 lines total that used only the most basic of data structures, and used those sparingly.
- tatalegma 13y agoFair enough. I understood that, I was being kind of a dick. Sorry.