Morning-After Pill
I need one of these "morning-after" pills. Yesterday was the most productive
day I've had in months. At work, it was productivity straight through the
day, and as soon as I got home, more of the same. I eventually pried myself
away from the computer at 3. This morning, I feel like crap.
The evening was spent refactoring Celestia code from a monolithic file of many KLOCs to smaller, more manageable files. The way a multi-source-file program is usually structured is largely lost on GTK Celestia, because it's written in ways most GTK programmers are taught to avoid. Splitting it up has definitely highlighted these areas, so I'll be fixing them in due time. For now, they are just worked around. I also learned a lot about how static functions work in a multi-file program: they don't. In the end, the code was compiling, but didn't link since all of these files were put into a new "gtk" subdirectory. The Makefile will have to be modified to be able to resolve all of the symbols from other subdirectories.