CS373 Spring 2022: Luca Santos
- What did you do this past week?
This past week I worked a lot on SWE, mostly on our frontend. I finished up our Pagination component halfway through the week since my group decided to create our own module from scratch, and the moved on to work on the model instance pages. Besides working on Project 3 I have also put some time into working with my other group to advance my Behavioral Ethics service assignment.
- What’s in your way?
I have not been sleeping too well lately. It may have something to do with how much coffee I have gotten used to drinking everyday, so I will try my best to moderate my caffeine consumption.
- What will you do next week?
Finish up Project 3 with my team and work through a project for my Symbolic Programming class.
- What did you think of Paper #9: Dependency Inversion Principle?
The idea of forcing modules depended upon by your application to implement a well-defined way to interface with it so that both are mobile is an excellent design answer to a very pervasive problem in OOP. Abstracting away as many implementation details as possible serve well to enforce the goals of flexibility, robustness and reusability. Overall the paper offers excellent and timeless design advice that is simple to implement.
- What was your experience of decorators, Cache, and functions? (this question will vary, week to week)
I had seen Python decorators before but had never once quite understood what they were used for or how they worked. Hence the information we went over in class this week was mostly new but no less interesting.
Cache was an interesting exercise that helped emphasize the practical use of decorators in a context that I had never considered before!
- What made you happy this week?
I got a new set of lifting straps and knee sleeves!
- What’s your pick-of-the-week or tip-of-the-week?
Git allows you to commit whole directories! Using ‘git add path_to_dir’ will allow you to only place that particular folder in your commit. This can be helpful when you want to work on functionality that is not quite large enough to be its own feature branch, but relevant enough that it should have its space in the project hierarchy. Testing new React component types and general purpose unit testing can be integrated into your version control stack this way!