CS 371p: Week 2

Anusha De
2 min readJan 30, 2021

What did you do this past week?

I spent most of this week doing schoolwork. I’m determined to keep up with the assigned readings for my classes this semester, so I made it a point to schedule time to complete them. I also got a head start on a few assignments, since I know the semester will only get busier. For this class, I reviewed my notes from the first few lectures to make sure I’m understanding the content.

What’s in your way?

Right now, lack of sleep is in my way. I have a really bad habit of staying up late, even if I know I need to wake up early the next day. Since this week consisted of several early mornings and packed days, I haven’t been able to nap and catch up on sleep yet.

What will you do next week?

Next week, I’ll focus on making good progress on Collatz and hopefully completing the assignment. There’s also an assignment due in my design class, so I’ll probably spend a good chunk of time working with my partner on that.

If you read it, what did you think of the makefile?

I think the makefile commands will be really useful in streamlining the development process for the assignment. Initially I was a little confused, but going over it in lecture and reading the comments helped me understand the different commands.

What was your experience of Docker?

My experience of Docker has been really good so far. The initial setup was a little tricky, but afterwards I found it really cool that I could edit the same file on vim and have my changes instantly show up in Sublime Text. I’m also excited because Docker will help mitigate several of the incompatibility issues faced by Windows users like myself.

What was your experience of assertions?

It was interesting to learn about the differences between assertions and unit tests. I’ll plan to start incorporating them to check for pre- and post-conditions in my code; it will make debugging much faster!

What was your experience of unit tests?

My big takeaway from the lecture was that we should write tests for our solution before developing the solution. I like to code and test in small increments anyway, so having pre-written tests for functions before I start writing them will make life much easier.

What made you happy this week?

I made a batch of these brownies, and they turned out perfectly fudgy.

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

My tip-of-the-week is to take regular breaks during long work sessions, especially when you’re debugging code and feeling frustrated. Often times, coming back to the problem after a short break provides a fresh perspective.

--

--