Week 11
Summarize the feedback you received about your code
I received feedback that my variable names are clear and meaningful. My Code is functional but suboptimal, where logic adheres to the assignment but could use optimizations. I have an unused import which I already fixed in my final result. My code is clean and readable. And that my existing comments are concise and accurate but not exhaustive. Methods are documented but others lack explanations.
Identify any trends you noticed when evaluating the code of others
A few logic errors here and there, as well as setting up the subclasses were a common theme.
Was any part of the code a struggle for YOU?
I struggled a lot with the output statements, it is different than C++ and I would sometimes make too many arguments or too little, or silly little things like forgetting the %. toString was a pain to implement, as well as takeDamage.
Was any part of writing the code easy for YOU?
setPhrase was easy for me because it was just a bunch of if-else statements. Although I was using the wrong thing to check in the if statements I eventually figured it out and resolved it all. attackModifier was easy as it was only 3 things to return with super straightforward if statements.
What is your biggest victory?
My biggest victory was successfully debugging the code and getting 12/12 tests. Such a huge sigh of relief finally getting everything finished up.
Comments
Post a Comment