CST338 - Week 14
- YZ

- Apr 8, 2020
- 2 min read
Updated: Apr 13, 2020
UML Diagrams, Multithreading, and Patterns

My experience with UML diagrams does not extend beyond this class. I imagine that in the workplace when dealing with complex programs developed by many programmers, a UML diagram is a great way to depict and organize the program in a comprehensible way that each team member can understand. As for multithreading, this is the first time I encountered it from the programming side, although I have obviously experienced multithreading many times as a computer user. It was interesting to learn about it and discover how you can add layers to your program and design it so that it can do multiple things at once. Lastly, this week focused on patterns. The main one that I read about and then used in the programming assignment is the Model-View-Controller Pattern. I think this pattern is helpful because it separates data and calculations from the way it will be viewed to the reader, thus making each part of the code more contained, readable, and easy to manipulate.
Timed "Build" Game
This week's assignment was to design a new card game called Timed "Build" Game. Since we had already designed a similar card game last week, we mainly had to update, change and add things to the code to follow the new game instructions. I found it much easier to work on the program when the basics were already done and I could just focus on the new changes. Manipulating existing code is giving me great experience for the workplace where programmers are usually given code to update and improve. I really like how each week we created more and more classes with which to build upon our programs. Additionally, this week we implemented the MVC pattern which I found extremely helpful to compartmentalize and organize the code. I can't believe this class is almost over and I made it this far!



Comments