What did you do this past week?
This week I worked on the IDB project with my team for my SWE class. I also began 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 exams, which are next week.
What did you think of Paper #6: The Open-Closed Principle.
The Open-Closed Principle is an important rule in computer programming that encourages developers to design software components in a way that allows them to be easily extended without modifying their existing code. By following this principle, programmers can create more flexible and reusable code. Instead of constantly changing existing code, they can add new features or functionalities by simply extending the existing classes or modules. This helps to minimize the risk of introducing bugs or errors while making the code easier to maintain and understand. Ultimately, the Open-Closed Principle promotes better software design, making programs more adaptable to future changes and enhancements.
What did you think of reverse() and Allocator?
In C++, reverse() and Allocator are two powerful tools for manipulating collections, but they serve different purposes. reverse() comes from the <algorithm> library and efficiently reverses the order of elements within a container. It's versatile, working with various containers like arrays, vectors, and lists.
On the other hand, Allocator is a template class found in the <memory> library. It provides more control over memory allocation during object creation and container manipulation. While not directly related to reversing elements, Allocator can be used alongside dynamic memory allocation (like new and delete) to customize memory management for objects within containers.
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?
Lenovo unveiled a pretty cool transparent laptop concept called the ThinkBook Transparent Display Laptop at MWC 2024. The 17.3-inch screen uses MicroLED technology and can vary from 55% transparent to fully opaque. When transparent, objects behind the laptop can be seen. Interstingly, the bottom half of the screen can also function as a drawing tablet. However, the transparent screen is still low resolution at 720p. Lenovo hopes to find useful applications for the transparent display to potentially include it in a commercial laptop within 5 years.
Peering through Lenovo’s transparent laptop into a sci-fi future