Hello I'm learning a bit about data structures for the first time and so far I seem to understand how they work "I think" at this stage. My questions at this point would be.
1. Are data structures essentially classes minus methods which can preform actions
on the memebers that are held inside?
2. In the case that question 1 is true... Why would I then chose to use a data structure over a class as data being stored is usless without being able to preform actions on that data?
3. I realize that classes are basically objects, it seems data structures are givin some of that good old terminology that could be misleading. As in we give the structure a name which can be described as a "new type" or a "new object". Which term might be more correct and suitable for data structures?
4. I guess at this point my final thoughts on data structures is that data structures would be a good way to store data that you may not "at the time" know what you may possibly want to do with later on. Which seems a bit silly to me but possibly understandable, kinda sounds like a project so large that you couldn't possibly see or be planning far enough ahead to know why or what you are storing that data for.
I've done quite a bit of searching on data structures like I said and I'm sure will continue to do so an play around with them in some code, but if someone can help me out with the answers to those questions I think I'll have a much better understanding about them.