I thought I had written the physical system move functions in my demonstration project with due attention to system boundary behavior and off-by one errors. Nope. It took me a couple of hours of debugging to get them all working right, and I still need a little more testing to confirm it. This is why I started working with a system with a great grand total of TWO possible elements. The more room there is in the system, the more possibilities there are for interaction. Since I will be working with objects of multiple sizes and shapes, I need to start now to develop the physical objects beyond particles.
I have a basic concept of chemical elements: I need to expand my version of the Periodic Table to more elements. In order to do more with chemistry, I need a better variety of physical functions, so this be a priority.
The rest of the demonstration program will take a little more time. The printout is now at 56 pages, and I want to go through and add various techniques to the numerous basic functions. I also need to push my review of the text a little further.
I had decided last month to pick up the third edition of Deitel & Deitel, to see what changes had been made. There weren’t many changes in the concepts and exercises. The elevator simulator was developed into a program, and I was intrigued by it. I have decided to try to enter it, one object and behavior at a time, and test the functions as I add them. I will have to see how this works.