CS373 Fall 2021 Week 8: Darshan Bhatta

Darshan Bhatta
2 min readOct 16, 2021

What did you do this past week?

This week I made some progress on phase 2 of the project. I helped with modifying our import script to scrape additional data from another data source and changed our frontend to support that new data.

What’s in your way?

Nothing is in my way at the moment.

What will you do next week?

I will be working on finishing up phase 2 of the lab. Our group has made pretty good progress. We have the database setup and our backend deployed and some testing setup. I will be working on getting our backend testing done this weekend. After that, we will just need to seed our database with the data and create API routes to fetch it and connect the frontend to call those routes.

If you read it, what did you think of the Paper #8: Liskov Substitution Principle?

I thought it was a good paper to read. I liked reading about how having contract classes would ensure modularity in the codebase. This makes sense because the other classes that interact or will be implementing will need to have the same schema set by the contract class.

What was your experience of comprehensions, generators, and yield? (this question will vary, week to week)

I did not have experience with those before we went over it. However going over it in the lecture and implementing it during the class exercise, I got good familiarity with it. Comprehensions seem super useful in terms of generating a new list based on a function you provide all in one line. Generators reminded me of the map function call so it was pretty easy to understand how it worked. Yield I had not used before but the in-class exercise helped me see when I could use it.

What made you happy this week?

I was happy this week to have relativity easy week. I wrapped up my midterms, so my week had less work to do for my classes.

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

My pick-of-the-week is ESLint, a tool that analyzes your code based on a set of rules set for JavaScript. It ensures that our JavaScript code follows a code style and will tell you when it's not and even automatically fix it. I recommend this to anyone working on a JavaScript project because it helps you have cleaner code and helps get rid of bad practices. They have templates to use so it doesn't get overwhelming to get set up with it.

--

--