30 Sep – 6 Oct

What did you do this past week?

Well, me and my partner built the working project code, passed HackerRank with said code, created unit tests and acceptance tests for the code (I know we’re supposed to make the tests before we start coding, but making unit tests when you don’t know what your API will look like makes the whole process a little inflexible. Maybe it would be a good idea to create unit tests either immediately before or immediately after you create the method, since the code’s still fresh in your mind and at least you can be more confident in your method as you go forward. Also, how do you make good acceptance tests when you don’t know what the output should look like? If you use the output of your code as the assumed “correct” output, how do you know if the program is malfunctioning or not? Do you compare it with the output of others? What if their code is wrong? Is it even possible to know what is correct and what is not? …Food for thought.), documented, commented and asserted our code, opened and closed the issues, filled out the readme, ran cppcheck, checktestdata, valgrind, gcov, astyle, doxygen, git log, *inhale*, and submitted the goshdarn thing to Canvas (twice).

What’s in your way?

NOTHING!

What will you do next week?

PROBABLY SOMETHING I DON’T KNOW YET!

What was your experience in learning about equal(), copy(), fill(), and the different STL containers?

It was fine. Nice to know how those data structures are implemented. Might be useful if I need to make data structures similar to them. Those three methods might prove to be useful. Also, I’m not sure why we had to give specific names for the different kinds of iterators. Usually you only give names to things that you often reference, and I don’t know how many times in conversation I need a word for a read-write iterator that may iterate forwards and backwards, but is not necessarily indexable. Though I guess it might be good to have some official name for it, somewhere. I don’t know. In general I have no strong feelings about this.

What’s your pick-of-the-week or tip-of-the-week?

Do you use vim? Do you hate how you have to press ‘i’ in order to actually edit the text in this text editor? Here. Do you hate how you have to type ‘:’ to do anything, instead of using ctrl or command like a normal person? Here. Do these suggestions actually work? No clue, I don’t use vim #NanoNotThatBad

Leave a comment