...

/

Are We There Yet?

Are We There Yet?

Let’s talk about things to add, change, delete, and improve in our app.

We have a nifty catalog that handles our data operations and keeps copies of the records on the backend, like a cache, if you will. That said, it’s far from finished. Is code ever finished, though? There are loads of things we could add or change to improve it. Here is a list of things we thought of:

  • Collections should be hashes, like POJOs, or Maps for quicker look-up.
  • Some refactoring would be valuable to have fewer conditional branches based on type. A lot of the methods can only deal with bands and songs and are not prepared for other model types.
  • add could return the record just added, or already found, in the catalog
  • This is not strictly for the catalog, but we could enhance our model classes with a
...
Access this course and 1400+ top-rated courses and projects.