CS371g Spring 2022: Sang Pham

Entry #9

Sang Pham
3 min readApr 2, 2022

1. What did you do this past week?

This week had been hectic since I had an exam and project due for other classes together with this class. I finally finished project #3 Allocator, this project took a lot more time than I was expected. I also didn’t implement the iterator on allocate() and deallocator() until the last minute but thanks to Professor Downing that I don’t have to spend a token for it.

2. What’s in your way?

3 things in my way: Procrastinating, procrastinating, procrastinating. I seriously need to stop spending time wandering on YouTube, Reddit, TikTok, And actually do some useful work. Also, I still have lazy feelings after Spring Break and it messed up with my daily school work schedule.

3. What will you do next week?

I would definitely try to stop procrastinating and start project #4 early because it seems to have a lot of designs stuff to do but at least it looks interesting. I will try to use the office hour or help section next week since I think the designer part of this project is the most important and I don’t want to go down the wrong path like the previous project.

4. What did you think of Paper 10. Why getter and setter methods are evil?

Paper 10 is a wake-up call for me since I literally implement a get() function for the allocator class. It was a last-minute decision and it was really a quick-fix solution to the problem. This paper is all about object-oriented because reminds me to consider that every object has its own property so that I can’t just take/change its data without the permission of the object itself.

5. What was your experience with std::vector, std::deque, std::list, and std::stack?

I’m fully convinced to use std::vector over the build-in array. Std::deque is very new and interesting to learn about, I can tell by the number of questions that come up in the lecture about it. I don’t think we dig deep into std::list and std::stack yet. Also, I have no idea what container to use for project #4.

6. What made you happy this week?

IM champion!!!! My co-ed volleyball team made it to the final last week and won!!! (there were 84 teams) I’m so proud of my team and couldn’t ask for a better way to end my year at UT.

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

My tip-of-the-week is to make friends wherever and whenever you can and make the most out of your time while you still a student at UT because trust me you will enjoy every second of it.

Thank you for reading!

--

--