Coding 2021-05-30
Dealing with cryptic, untested code.
Dealing with cryptic, untested code.
Going to back up my system overnight in case this persists through reboot.
Big shoutout to attrs for writing the vast majority of __init__ methods in my hobby projects.
Gradually remembering the parts of the prototype I didn't want to think too hard about.
Looking at my code from a few weeks ago and going "Hm, that's not documented well."
Taking time to carefully plan the minor detail that I want to get right.
Slowly baking in the heat and soaking in the humidity, I focus on code quality.
How many ways can I come up with for the code to refuse to do anything? A lot.
"This is probably impossible, so in a way, it's like I'm already done."
Most of this post is devoted to figuring out how to test a single command-line argument.