I made some frontend changes and looked over our APIs more thoroughly to determine which ones were the best for which model. I was mostly just attending our group meetings since it's been a hectic week. Spring Break is only two weeks away!
I'm not really sure how the information should be retrieved from the backend, so I need to learn more about that. Also, I'm not sure about how the unit tests should be set up. There's a lot of work to get done in this coming week.
My goals are to 1) implement pagination for the model pages, 2) parse the backend results to present information on the instance cards, 3) review and clean up phase 1 code, and add JS unit tests. There's more tasks to do after these are finished, but I don't want to overwhelm myself by trying to finish everything this week.
It was really interesting, especially the Square and Rectangle example. I thought that it was intuitive to make the Square class an extension of the Rectangle class (after all, a Square is a type of Rectangle), so this paper was a good read for me to understand why this isn't the case. The behaviors just aren't easily meshed together. Or rather, they can easily be pried apart.
I think it's pretty cool how an interator will just return itself. Creating the DigitsIterator in class helped me to understand the difference between a container v. iterator. Comprehensions and generators are interesting. I don't understand the reasoning behind their names, but I know that comprehensions are for lists and are eager/O(N) whereas generators are for tuples and are lazy/O(1).
My friends and family. :) One of my friends had a birthday party this weekend and we stayed up playing Just Dance and Werewolf! It was a lot of fun (but I got really sleepy)!
If you forget a Terminal/bash/zsh/fish command's flags, type "man <command>" (eg. "man ls"). Man stands for manual and looks up the entry for the command in the CLI manual (I have another way of remembering it but that's what it actually means)!