How to think, when you program?
Greetings!
I have done some basic PHP and C++ programming, like a guestbook and a small text adventure.
However, I felt when I did the text adventure that I programmed wrong and old. The program was running from the top of the code and all the way to the bottom, very undynamic in my opinion.
This might be the case, that "real" programming is actually like this but I doubt it. That's why I would like to hear what you think, how would you organize a small text adventure?
Thank you,
// "Interested Newbie"