CS373 Fall 2020: Kevin Hao
What did you do this past week?
This past week, I spent most of time working with my group finishing my game technology project. We had to translate all of our code from GDscript to cpp, which was kind of a pain due to cpp quirks and poor library documentation. Besides that I participated in the coding competition on Friday.
What’s in your way?
Nothing is really in my way currently, I just have a lot of work I need to get started on.
What will you do next week?
Next week, I have an exam in this class and my data mining class. Because of that, I will definitely need to start reviewing course material and create some cheat sheets of some sort. Other than those exams, I have some long-term assignment due dates coming up in my other classes. In addition, I also have a decent amount of work to do for this class’s project (setting up database and web scraping).
If you read it, what did you think of The Open-Closed Principle?
The open-closed principle is one of those ideas that makes sense and is fairly simple to conceptualize, but is difficult to generate and maintain in practice. To my understanding, this principle says that behavior should be able to be extended without modification of the source code. This is so that code can be extensible to be used in more situations but should not change existing behavior. This just allows for code is easily maintainable.
What was your experience of iterators, generators, and yield? (this question will vary, week to week)
When I first learned Python, the concepts of generators was alien to me. While I have used stream type objects, I only thought of using them in the context of reading in files or outputting information to files. I believe that the topics we covered in class this week are the most convenient parts of Python. The syntax that Python provides around generators/iterators is so intuitive to use and a lot simpler to use compared to other languages.
What made you happy this week?
Bloomberg held a puzzle competition this week. I thought it was going to be related to CS, but it turns out it was just full of puzzles that required very creative solutions. I went into the competitions with a few friends and it ended up being a really great time!
What’s your pick-of-the-week or tip-of-the-week?
My tip-of-the-week is to go to the events provided by the CS department. Especially in times like this, connecting with new people and getting to do random activities is a pretty good way to kill some boredom or even get some recruiting in.