What did you do this past week?
This week I finished part three of the IDB project with my team for my SWE class. I also finished the Darwin project for my OOP class.
What's in your way?
I am actually pretty caught up work wise, but I do have a test next week that I need to prepare for.
What will you do next week?
Next week, I will continue working on the IDB project for SWE and begin the next project in OOP. I also plan to prepare for my tests.
What did you think of Paper #11. More on getters and setters?
The article discusses an important issue in object-oriented programming - how to build user interfaces for objects without violating the principle that objects should not expose their internal implementation details through getter and setter methods. So, the solution proposed is to use the Builder design pattern to separate UI construction from the core business objects. Builder classes are responsible for building different representations and views of an object's state without depending on its internal implementation. This allows objects to drive the UI building process without knowing the details of what is being constructed. It isolates objects from changes to their various user interface representations.
What did you think of SQL select, SQL subqueries, and SQL joins?
- In SQL,
SELECTstatements are used to fetch data from one or more database tables. They allow you to specify which columns of data you want to retrieve, as well as any conditions that data must meet. - In SQL, subqueries (also known as nested queries or inner queries) are queries nested within another SQL statement, such as
SELECT,INSERT,UPDATE, orDELETE. Subqueries are enclosed within parentheses and are used to return data that will be used in the main query's criteria. - SQL JOINs are used to combine rows from two or more tables based on related columns between them. There are different types of JOINs:
INNER JOIN: Returns rows when there is a match in both tables.LEFT JOIN: Returns all rows from the left table and matching rows from the right table.RIGHT JOIN: Returns all rows from the right table and matching rows from the left table.FULL JOIN: Returns rows when there is a match in one of the tables.
What made you happy this week?
This week, my friends and I met together to eat some fried chicken at a restaurant, which was delicious and a very enjoyable experience.
What’s your pick-of-the-week or tip-of-the-week?
This week, I learned about draw.io while making a UML diagram for my OOP class. Draw.io is a free online diagramming application that allows users to create various types of diagrams such as flowcharts, network diagrams, organizational charts, UML diagrams, and more. The web app is very versatile and you can easily download the diagrams you make, all for free!