Skip to content
Naman on GitHub Naman on Twitter

CS 373 Spring 2024: Naman Arora

Naman Arora

What did you do this past week?

This week I worked on the IDB project with my team for my SWE class. I also continued working on the Allocator project for my OOP class.

What's in your way?

I have been putting off work recently and as a result I have fallen a bit behind. I also have some exams coming up, so I need to study for those.

What will you do next week?

Since I have fallen a bit behind, this week I will work towards finishing my work. I will continue working on the IDB project for SWE, which includes implementing the backend and continuing to work on project 3 for OOP. I also plan to study for my SDS exam, which is next week.

What did you think of Paper #7. The Liskov Substitution Principle?

The Liskov Substitution Principle (LSP) ensures that objects in a class hierarchy are interchangeable, promoting code flexibility and maintainability. Imagine building blocks: you should be able to swap a subclass block for its superclass counterpart without affecting the overall structure. LSP helps achieve this by defining rules for how subclasses inherit and potentially modify behavior from their superclasses. This leads to more predictable and robust object-oriented code.

What did you think of comprehensions, closures, and decorators?

Comprehensions are a compact and readable way to create new sequences (lists, sets, tuples) based on existing iterables; the can use lists, sets, dictionaries, etc.

Closures are nested functions that remember variables from their enclosing scope even after the enclosing function has finished its execution. This allows the inner function to access and potentially modify those variables, even though they are outside its local scope.

Closures are often used for data hiding, state management, and event handling.

Decorators are a way to modify the behavior of existing functions without permanently altering their source code. They achieve this by wrapping the original function and potentially adding functionality before or after its execution.

What made you happy this week?

This week, I went out with my friends a few times, and as a result made some good college memories.

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

Recently, I have been using Obsidian. The app allows me to use markdown to take notes for both my personal life and classes here at UT. As a result, I have streamlined my life.