CS371p Spring 2021: Week 11

Samuel Turner
2 min readApr 18, 2021

Blog 12

What did you do this past week?

I was mostly working on the Darwin project. It was cool being able to apply what we learned about getters/setters and OOP in general immediately after learning about it. I finished early enough to be able to refactor some of my code and remove some unnecessary getters and make my code more clean.

What’s in your way?

Currently nothing. I hope to stay on top of things so that when finals come around I will not have as much to worry about.

What will you do next week?

I hope to get started early on the next project for this class as well as on some other long term assignments in my other classes.

If you read it, what did you think of the More getters and setters?

It was confusing at first since I have never used JComponent, Jpanel or any other UI related code before. I think I understand the general concept though of not completely removing dependency, but limiting it to certain classes/interfaces so that not as much code needs to be changed when refactoring.

What was your experience of sequence containers, container adapters, and associative containers? (this question will vary, week to week)

I had never thought of the underlying implementation much or the consequences of using certain containers in certain situations. Now that I know the underlying data structures they use and their pros and cons, I hopefully can better pick the faster performing one for a given situation.

What made you happy this week?

We’re nearing the end of the semester and some of the assignments are starting to clear up. Finals are around the corner though…

What’s your pick-of-the-week or tip-of-the-week?

Taking a break when being stuck on a certain bug/problem. I find that most of the time when I get stuck, it is because I have a certain incorrect assumption or misunderstood a problem. Taking a break helps me to clear out or forget these assumptions, which makes me go back to the code to double check, which then leads to me finding the issue to my problem.

--

--