CS373 Fall 2021: Week 13

Ethan Tan
2 min readNov 22, 2021


Week 13

What did you do this past week?

I finished up phase 3 with my group, as well as some homework for quantum. I got started working on phase 4 as well. Besides that, I had some free time (shocking!), so I played games with friends, which was pretty great.

What’s in your way?

Since next week is Thanksgiving, not much! I do plan on working on projects over break so that I don’t drown in work afterwards.

What will you do next week?

I’m going home for break, and besides working on projects, I’m excited to cook and bake in a bigger kitchen.

If you read it, what did you think of Paper #13: Why Extends Is Evil?

It outlines the key concept of composition over inheritance very well. Composition is a much better way of “inheriting” an implementation, as it requires explicit definitions of what you want the class to do and prevents dangerous ways to take advantage of inheritance.

What was your experience of SQL?

SQL is a pretty nice language; it’s pretty close to natural language, which makes queries intuitive to read. It also provides enough useful features to be able to express a wide variety of queries and the ability to obtain any useful information from a database without having to resort to procedural techniques.

What made you happy this week?

Having free time to play games (I’m a fan of Hollow Knight randomizer) was very cool.

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

So I may have been dumb and been editing JavaScript with html without proper syntax highlighting for a while… if you’re an emacs user, I recommend the package rjsx-mode. It’s on melpa, and it provides very nice syntax highlighting for .jsx files, with real-time warnings and errors (which was not something I expected out of an emacs package) that are very helpful for getting used to syntax and catching typos. I wish I knew this two months ago-it makes editing front-end code a lot less painful.