Sore Hands, Sore Feet
Last night Sangeeta and I walked a couple of miles. My legs got tired and now my ankles feel well-used. Not bad, just used.
Yesterday I programmed a pluralizer. It takes a word and returns the plural of that word. I actually wrote the original code in LPC for my New Moon creator requirements, before I found out that MudOS has a built-in function to do that. So I thought I’d wasted all that effort and research. Until yesterday, that is. I found the old code, converted it to C++, and now I’ve got a wonderful pluralizer. The toughest part was initializing several lists of words which have unusual ways of converting to refer to multiple objects (“bison”, “cactus”, “mouse”, “child”, etc.). I’m using STL vectors and strings, and there’s no built-in way of creating those kinds of things. Luckily, another LPC-inspired tool was available to me! Several years ago I wrote explode() in C++ because it was so useful in LPC. I just converted the word lists to strings and used explode() to initialize the vectors. Piece of cake.
So, with all that coding, my hands got pretty tired. Then I kept coding on New Moon and they became even more tired. Then they got sore. They’re still a little sore, and I’ve got a lot more programming to do in the coming two weeks. I hope they hold out that long.
Comments Off on Sore Hands, Sore Feet