Data structure: table vs. <class>ArrayList

Hello all,

I am working on a vocabulary test Sketch and I load a csv file with word pairs.

I work with the table then when presenting the words in the test.

But the table feels clumsy here.

Would it be easier to parse the table to a class WordPair and then use an ArrayList of it?

Thank you!

Warm regards,


1 Like

Sketch above “Table CSV Card Pack” loads file “Cardpack.csv”, creates a Card[] array and transfers Table columns “Number”, “Rank”, “Suit”, “Image” to Card fields value, rank, suit, img respectively.



Yeah, I guess it’s easier to use an array/class structure instead of using a table.