CS371p Spring 2022: Week 8

This past week I had a lot of exams, so I mainly studied for those. I went back home earlier in the week, so I just took my exams virtually. I also finally turned in that big Networks project that my parter and I had been working over the past few weeks, and also the Data Mining sklearn assignment.

I am behind in my linguistics classes, so I will probably need to spend some time over break catching on lectures and whatnot.

Next week is Spring Break, so I will mostly be taking it easy with family and meet some high school friends as well. I might watch the new Batman movie everybody is talking about. I’ll probably file my taxes as well because it’s a good time to, catch up on my linguistics classes, and just go to the gym regularly.

I think it was a pretty straightforward idea, and the article gave good examples showing why the ISP is useful. It also showed that compilation time might a real consideration in larger scale codebases. It was also interesting to see the adapter design pattern being put to use. Essentially, if you are ever doing inheritance and you think that a certain subclass does not need some interfaces that it is inheriting, the ISP is probably being violated.

These topics were pretty much new to me, as I always typically use the C-style array, and never really explicitly used iterators. It was really helpful to see the different types/strengths of iterators and how they have pointer-like syntax and semantics. I will probably used std::array if I need a stack-allocated array from now on.

Honestly I was happy to finally be done with exams and look forward to spring break. I could definitely use the time to recharge.

Ever try to learn a new terminal command, and people tell you “just look at the man page”? Well typically man pages are overly descriptive and kind of disorganized to the point where it becomes hard to figure out the prototypical use of the command. There’s a nice little community-driven tool called tldr pages which simplifies man pages and gives useful examples.

https://tldr.sh/

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store