CS373 Spring 2021 Week 4: Yuhan Zheng
What did you do this past week?
This past week I finished the Collatz project by implementing a meta cache. I’ve had done the same project for Generic Programming and used an eager cache back then, so this time I tried something different. While doing this project, I also got more familiar with closing issues in the commit message and organizing issues with labels.
What’s in your way?
I need to start brainstorming some civic-related topics and relevant APIs for the upcoming project. Also, I still have some readings to do for my other classes.
What will you do next week?
Next week I am expecting some meetings with my team to discuss and pick our topic for the project. I will also get started on a project for my other CS class.
If you read it, what did you think of the Pair Programming?
I think pair programming is a great way to improve the efficiency of coding and the quality of the end product. Having a partner checking over your code will help to identify silly bugs and logic errors that are immediately obvious to you. Besides, working with other people is a great way to practice verbalizing your thoughts and thinking about a problem from a different angle. So far, I’ve had a great experience with pair programming, and I am looking forward to doing some more this semester.
What was your experience of types?
The lecture really pointed out some characteristics of python types that I did not notice before. For example, in a dictionary, when a key gets repeated when it is initialized, only the last key-value pair out of all the repeated ones will be kept. Also, it is really important to distinguish between mutable and immutable types, since only the immutables can be hashed. Additionally, I think it’s interesting that only set has both a mutable and immutable version. I wonder that’s the rationale behind this design.
What made you happy this week?
I celebrated Chinese New Year with my family and got to see some relatives that I haven’t met in a long time. I also got a new board game that I’ve been playing with my family.
What’s your pick-of-the-week or tip-of-the-week?
I found this beginner-friendly article on RESTful API. It covers what REST is, how it works, and attaches code examples for you to have some hands-on practice. Since we will be using RESTful API when building our websites, it would be a great resource to look at if you do not have any prior experience with it.