Switch from Lists to Dicts
The following discussion from !7 (closed) should be addressed:
-
@radical_coder started a discussion: (+3 comments)
Seeing how you are already rewriting everything here, how about changing the field order at the same time? As we discussed before, it would benicer to have something like author, book, url, quote instead of putting the quote first.
As discussed in the thread, switching from Lists to Dicts when reading and writing csv will make it easier to re-order and add/remove fields in the future. It will also make it easier to read the code, and will make scripts which have to access the data more resilient.
-
Convert from Lists to Dicts -
Reorganize the columns: author, title, link, quote