Sunday, October 23, 2011

Weekly Blog #8

I didn't feel too good about the test at the end. After checking I think I got most of it correct, including the destructors but at the time of the test I didn't feel confident and felt like I was guessing the whole time.

The grades projects I think took a lot longer than I expected, there was a lot of formatting issues and many small changes to make to fit the consensus.

I just read the next project and it seems interesting, I've done a similar project before where the creatures behave in similar ways. I can't believe the semester is almost coming to an end, I definitely did learn a lot from this class and it was worth my time. I honestly picked this class randomly to get another cs upper division and feel like it was a great decision and would recommend others to take it.

I still have not grown an appreciation for unit tests however. I still think the same way as I did before, I don't think they are all that useful. One exception to that might be, when I change code to cover a corner case, I might be changing an important invariant in the code, which can be checked quickly through a unit test. However, I haven't had that problem with the projects in this class as I think they are pretty-small scale, so for this class, I feel like I had to write a lot of units compared to what they are worth.

Acceptance are a little bit better, but it wasn't that enjoyable to do it if we had to write a complex program for it. I thought they were useful if they were quick to write. Usually I didn't find too many bugs after writing the unit tests.

No comments:

Post a Comment