Time-boxing a cat
My next challenge in Learn More Python The Hard Way is to implement my own version of the Unix cat command.
Similarly to the previous exercise argparse, this exercise is also about refining your project start up techniques, not about fully functional delivery. As noted in the above blog post, I made some observations about my attempt at this first hack, and decided to focus this session on my list-making and commenting, before I started to write any code.
So I started my Pomodoro timer and set off….
Research and notes
First of all I created a file called challenge.txt where I started to write a quick TODO list of activities for the project. Even though I suspected it would be a fairly short list, I also needed a file to run my cat against later so it was worth producing.
The list contained there items:
- read man cat
- quick research of POSIX
- implement cat clone into mycat.py
...