20231005
Didn't sleep last night. Ordered some food from KFC around midnight, then worked on my project. Watched a football game around 3. Didn't feel sleepy afterward, so worked for a while. Went to bed around 6 and got up around 11. Didn't play Zelda after lunch as usual, worked instead. Stopped working around 3 because finally I finished refactoring and was relatively satisfied with the code. The problem was, the redux store and actions that changed the state were so complex that I had no idea how to make sure the code was 100% correct. All I had done in the last days were to make the code more succinct and clearer so it looked good and without obvious errors. Maybe unit tests would be helpful. Didn't want to do the running exercise, so wrote journal instead. Completed 13 pomodoroes for work today.
评论
发表评论