What are the disadvantages of storing a playlist as plain text in a text file?
This is what I thought:
The main disadvantage of storing the play list as plain text is its simplicity. The basic conceptual structure of the rows of values can be very inefficient and inappropriate for data sets with complex structure. The low-level format of storing everything as characters with one byte per character is very inefficient in terms of amount of computer or phone memory required. It can also lead to massive redundancy (repetition of values). The speed of access and space efficiency for large data set is also not ideal. The second disadvantage is the fundamental structure of plain text file format means that each line of the file contains exactly one record or case in the data set. This only works well when a data set only contains information about one type of object. However, this is not the case as storing the playlist would mean that we also need to store all the information about the songs such as the name and song time. So there would be information about two different types of objects. A plain text file format does not allow for sophisticated data models. A plain text format is unable to provide appropriate representation of complex data structure like a playlist.
Now my question is instead of storing the playlist as plain text in a text file, what would be a more suitable way of storing objects? Please explain. Thank you.