CS371p Spring 2022: Lilia Li Blog #11

  1. What did you do this past week?

This past week I worked with my partner on the Darwin project. We’ve implemented each of the classes as well as the run harness and are currently testing it in the Hackerrank.

2. What’s in your way?

My partner and I are struggling with a bug causing our Creature objects to get overridden every time we create them. We suspect it has something to do with declaring and initializing structs that we are doing wrong. Although I think so far we have been making good progress and will hopefully get this bug fixed after going to a help session.

3. What will you do next week?

Next week, we will attend a Help Session to help figure out this bug and finish up the rest of the Darwin project.

4. What did you think of Paper 11. More getters and setters?

I thought it was interesting and went more into detail about how to prevent the need to use getters and setters since they leak implementation details that other outside classes do not need to know.

5. What was your experience of std::queue, std::priority_queue, std::set, and friends? (this question will vary, week to week)

I thought it was interesting going into deeper detail as to how these data structures are implemented underneath the hood using vectors, deques, and lists. Also, the friend keyword was something new to me although I had seen it used in previous projects but didn’t really understand what it was for. However, after Downing explained its use it made a lot of sense.

6. What made you happy this week?

I went to the Downtown Austin farmers market this weekend and it was a lot of fun! I also went to a friend's birthday party and had a lot of fun celebrating his 22nd.

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

My pick of the week is to attend the TA/professor’s office hours and help sessions. They’re really helpful in either helping you fix a bug or introducing a method to help you fix a bug. They can also help with figuring out how to best implement a certain aspect of the project so that overall the design of the code is better.




Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

GSoC’20 — Coding phase | Week 12

pass statement in python

Naim Audio — Servicing & DR Upgrades

Is it Worth Switching to Linux?

To all my fellow newbie programmers…

How to convert an HTML String to PDF in Python

MAZDA RX-7 (1986–1995) RX-8 (2003–2007) A selection of repair manuals

Get more from your cloud for less with Teleglobal’s implementation of CloudHealth

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Lilia Li

Lilia Li

More from Medium

The Software Initiative (Part 1)

HTML — 2.Text Formats

CS373 Spring 2022: Earl Potts: Final Entry