All Things are New in the Morning

I did no coding this past weekend. Saturday I read and did work for my other class (cholera and yellow fever!) and Sunday, despite the drizzle, I went out and enjoyed my favourite season of the year by picking apples.

When I sat down again with my editdocs file, which has given me so many headaches over the past few weeks, I immediately saw where certain things were going wrong. I had missing spaces in some of my echoes which were interfering with the code (“select” needed to be ” select “). In the space of a couple hours I was able to get the page to display preselected information, something which I’d been trying to do for over a week.

I’m not done with my CRUD yet. I’m slowly writing in the update code for editdocs, which has to update or create for all four join tables. I want to be sure I’m writing things properly so I’m not rushing through it. Plus, ever since we turned on error display I’m getting some odd error messages that I can’t quite understand (the variable isn’t undefined on line 29! Line 29 is where I tell you what it is! There’s an = and everything!).

Still, taking a break and looking at something other than a screen made it much easier to see where I was writing errors and where I need to go. Next time I hit a wall when coding, I will get up and go for a walk or something.

(The title of this post is a line from the poem “Blake Tells the Tiger the Tale of the Tailor” from A Visit to William Blake’s Inn by Nancy Willard)