CS371p Spring 2021: Luca Chaves Rodrigues Noronha dos Santos
What did you do this past week?
I finished up working on the Allocator project and devoted a significant amount of time to prepare for a job interview. I do not think I got too much sleep this week but it was nevertheless extremely rewarding and fulfilling!
What’s in your way?
Time; I find that oftentimes the one thing persistently in my way is a lack of time. No matter how far I go, there is never enough time.
What will you do next week?
Continue to send out applications and work on my personal projects. I expect to have started a new project by the end of next week.
If you read it, what did you think of the Interface Segregation Principle?
I have not have had the opportunity to read today’s paper on the Interface Segregation Principle.
What was your experience of initializations, and vector? (this question will vary, week to week)
Fortunately enough I have had quite a few opportunities to work with vectors thanks to this class’s projects, but writing their actual implementation was a matter that I had no idea how to approach.
When it comes to initializations, I feel like I was largely aware of how they worked, but very much like our vector discussion, I was not entirely sure of how they were implemented and meant to behave in C++.
What made you happy this week?
I had a very nice job interview (I hope :0)!
What’s your pick-of-the-week or tip-of-the-week?
This is not so much a pick of the week as much as it is a general reminder for something that often escapes us during times of stress: if a programming problem presents an issue that you may have studied or heard about before, chances are there is a library with some algorithm that facilitates the work for you!
As an example, I have two functions that I learned about this week, count (from <algorithm>) and accumulate (from numeric). The first (at least in the context that I used it) allows you to count the occurrence of a specified character within a given range of a C++ string. The latter allows you to “add” the elements of a specified range within a vector. One of the particularly interesting aspects of this function is that it can operate on any vector type since it can take a specified “addition” operation as a parameter also!