Week 7
Homework One assignment was the Markov Prompt. It read a text file and generated a collection of words and those that followed it to generate a new text. Sometimes the new sentences made sense and sometimes, they were just strange. It is funny to think about how I thought it was such a difficult assignment, but looking back, it was the only one I managed to get all the tests to pass on. I think I had the best approach with it so far, reading the prompt for understanding, then going through it once more to set up skeleton methods, prior to writing the code. How I would approach it differently is to sit down and think about my approach a little more. The prompt seemed so thorough and like it covered everything, that I just went for it. However, when it was time, I got stuck on areas like addWord and getSentence for DAYS because algorithms matter. I would also better organize myself with each method by creating a chart, because as I worked on some of them, I realized it made calls t...