CS371p Fall 2021: Xuefei Zhao

Xuefei Zhao
2 min readNov 8, 2021

--

  1. What did you do this past week?
    I was working on one of my projects due on Monday. My group had a wired bug since Thursday and we still haven't figured out it. Hope we can get some advice from the professor tomorrow and finish the assignment on time. I also worked a little bit with my partner on the Darwin project. We set up our GitLab repo and brainstormed some ideas about how to design the classes. We are currently stuck on the design of the Species and where to store the instructions for each program.
  2. What’s in your way?
    I have another assignment due this Thursday, and I barely started it yet. I’m afraid I can’t work on Darwin until this weekend. Hope this project is not hard.
  3. What will you do next week?
    Next week I will primarily work on my assignments from other classes and meet with my partner from time to time to make some progress.
  4. If you read it, what did you think of the Paper #11: Getters and Setters?
    I agree with the author that we should avoid using getters and setters. Since getters and setters stand for the direct access and overwrite on the private variables, it violated the principle of OOD. Rather, designers should focus on the features of the program and conceal the implementation details from the users.
  5. What was your experience of vector?
    I understood the idea of vectors and the associated methods. However, I didn’t do well on the exercises because of the limited time we got. We were stuck on the initializer list and didn’t know how to get the begin and the end from it. We should be able to finish all the tests if we have more time.
  6. What made you happy this week?
    Spending time with people makes me less stressed about my projects.
  7. What’s your pick-of-the-week or tip-of-the-week?
    I found it more efficient to debug independently when we don’t know the bug. However, when we have a clear vision of the possible bug, it’s easier to explain the unexpected behavior, and pair programming is more efficient.

--

--

Xuefei Zhao
Xuefei Zhao

No responses yet