I take sick pleasure in discovering a fundamental flaw in my programming and tearing it all down to rebuild it again.
—-
It’s frustrating as hell to have code that “ought to work” but doesn’t. It’s really satisfying to figure out the solution. A lot of people get attached to their code and don’t like the “wasted effort”, but for me it’s the opposite. I spend bunches of time doing things the wrong way, and when I learn the right way .. well I have a good reason to remember the right way.
So my “v1” code is usually kludgey as hell, but my “v2” code – while still hackish – does just what I want and in an almost-elegant way.
I haven’t reached the level of “v3”-quality code. Maybe that has actual production-users. =)
Oh, and I figured out how to have my CMS automatically and intelligently regenerate, even with new directories and files. I have no clue how it would work on Windows, but my system is smart enough that it idles at 0.0% CPU usage. I thought that my crude and aggressive code would be terrible for performance. But I was wrong. The memory usage shows at 0.4%, but it also shows at 5.5M Virtual and 4M Resident. I don’t understand these numbers.
