I spent three hours designing and coding, and then seven hours debugging. This is what my weekend was like.
The professor asked us to write a Python program to remove all comments from a C++ source file. It may sound like duck soup at first, but the number of niche cases to consider is not really small, not to mention the conflicts between those cases. My classmates provided a few outrageous test cases with which I caught and fixed some bugs. I’m happy that I completed it just minutes before the deadline.