This week we had our first homework assignment. For me it was a real challenge. We had to program a game called Jotto which is similar to Wordle. I think the biggest challenge for me was figuring out how all the different methods work together in the game. We were provided with a UML diagram and some starter code, but I found it challenging for me to understand what each function did. I also had some difficulty figuring out how to understand what the Jotto Test file was doing. I know it was checking and testing my code but I think I need more practice with unit tests to clearly understand what is happening. I think this week really exposed some of my weak areas when it comes to using Java. I can get through the initial stages and setups pretty easily, but when it came to programming the logic I really struggled. I find I have to put in extra repetitions to remember all the different details about coding. Programming is also very precise so if I do not remember all of the details of the language it makes for tough sledding.
This week we learned how to implement a different type of database using MongoDB. For our group project this week we changes the SQL code to MongoDB code. Both of these database applications do a fine job of working with data and saving it to a database. I did find that MongoDB seemed more streamlined than working with SQL. With SQL there seemed to be more setup as in creating prepared statements, and then executing queries. With MongoDB it seemed like a good chunk of the code was abstracted away and this made for cleaner looking code at the call site. If I had to choose I would likely go with MongoDB as it seemed more approachable.
Comments
Post a Comment