Refactoring sometimes creates issues
Not as expected
I didn’t get much accomplished this weekend on my adventure game. While I did manage to get a ContainerThing class created, the next step kind of failed miserably.
ContainerThing was added as a descendent of the Thing:w
class so that we can have chests and sacks; things that have to be opened and closed before user access. That all went pretty well. I did have to adapt to using instanceof in order to access the isOpenable field and the open() and close() methods. But it worked out.
Computer architecture
Before we learn to program
I’m going to start sharing what I know about writing code and developing software, but first I wish to start with sharing some of what happens under the hood.
I am kind of pedantic about things like this, but I am a member of the “No Black Boxes” club. I don’t like things to be hidden. I prefer to know exactly what is going on in my equipment, my electronics, and even in my programs. Though, I do realize I don’t completely care how a given compiler actually works, just that it does its job.