So I was looking back to my week 4 entry, and I noticed that some of my opinions have developed a bit. I said that I had to change my study habits in order to do decent in this course. I was correct about this, but in order to do great in this course, it takes a
lot of dedication, practice, and question asking to get a great mark. Since then, changing
my study habits has lead me to do much better on the second test than on
the first test.
I've also stated that I found unittesting to be "complicated and confusing". I still agree with myself on this. I prefer just putting tests in my docstring (you'd use doctest to test them) since they're usually short anyway. It's easier and saves a lot of time. On the other hand, unittest is great for when you need to do a really long test for a method. Putting such a test in the method's docstring would just look silly because of its length.
No comments:
Post a Comment