CS371p Spring 2021: Simon Xie W6

Simon Xie
2 min readMar 8, 2021

What did you do this past week?

I finished up the project, caught up with other homework, and practice some coding questions on Leetcode.

What’s in your way?

The project took up much of my time this week, and I wished I could save some of those time for the coding practice. I had some better sleep than last week but I felt if I get more sleep I would have performed better during the day in the week.

What will you do next week?

I will go to the career fair and look for a job, and keep practicing coding on Leetcode. I will also brush up on the memories of past C++ lectures and prepare for the exams of the courses I am taking.

If you read it, what did you think of the Open-Closed Principle?

The principle is a very clear one. It’s to focus more on expanding based on the existing code rather than modifying the existing code base, which is to eliminate as many potential bugs as possible in future software development. However, the Principle is also a very flexible one as it can always be adjusted to the requirement of the project being built.

What was your experience with arrays, iterators, and algorithms? (this question will vary, week to week)

I used both static and dynamic arrays a lot in my operating system class a lot, so it’s a good refreshment of them in the lecture. For iterators, I have come to a better understanding of iterators for data structures like vector and map, but not for the operators yet.

What made you happy this week?

I am neither happy nor unhappy this week, but I do feel more determined to do what I have to do.

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

Again, my tip for this week is the same as last week. Getting early and enough sleep is very important to our lives. It gives our body time to regenerate brain cells and restore stamina, allowing us to perform better during the day. I got better sleep this week and I felt better working and studying because of it.

--

--