Christian Ambros May 25, 2015
I do expect to get the rest of the code posted. So far, only
a few bits and pieces have actually been "clean" enough to post :
These are mostly underlying libraries, used in both Guide and
Find_Orb and other small astronomy projects of mine (and by a few
other people as well).
One big reason I decided to discontinue Guide was that it suffered
a fate all too common among old software projects. I started writing
it in 1992. Over time, I kept adding to it, occasionally rewriting
parts of it, and occasionally realized that I'd made some rather
dreadful decisions in the process. I also made design decisions that
_did_ make sense at the time, but then things changed.
As a result, the code gradually became more convoluted and got much
harder to maintain or improve. It got to the point where I approached
the code with a bit of dread.
There _are_ some pieces of which I am quite proud, and consider to
reflect some of my best work as a programmer. There are also pieces
that I sincerely hope would never be looked at by a potential employer.
(Though I think every working programmer has a few of those.) I expect
that I will have to swallow my reluctance to post "ugly" code, and
simply post at least some of the code in its current inelegant state.
The code, by the way, is all in C or C++, and uses the Microsoft
Foundation Classes (MFC) for the user interface. That was a good
choice back in the late 1990s, though less so today. Fortunately,
MFC is supported by the latest Microsoft compilers. I do expect to
do some work to get the code working with Microsoft Visual Studio
Community Edition 2013, the current "free" version of Visual Studio.
(With Microsoft, one must always look at "free" offers _very_
carefully. I'm not a lawyer, but I think we may be okay with this one.
I do wish there were a completely free version of MFC, though.)
Also, be advised: I am still tinkering with Guide on rare occasion.
Which will be the subject of my next post.