- Joined
- May 11, 2010
- Messages
- 20,703
- Location
- Charlotte, NC
- Display Name
Display name:
Snorting his way across the USA
Oh does THAT bring back some painful memories!
When I was first introduced to C and UNIX (version 6. Yes, that long ago. Predates and standard libraries for C.) I had been writing some Pascal code on Digital Equipment Corp RSX-11. The non-pc explanation of the differences went as follows: "Pascal and RSX-11 are like a virtuous woman. You have to play by the rules and you still may not be able to do what you want. C on UNIX is like a loose woman. You can do anything you like, but if you catch some horrible disease, that's your problem."
Picking up C written by a FORTRAN programmer (or COBOL for that matter) can be a harrowing experience.
Conversely, picking up a C program written to do much of what C++ does but without the OO constructs (particularly late binding) can be a debugging nightmare as well. I spen 3 years working on a C system that had some 1.2 Million LOC (actual executable statements, not just source file lines) and in excess of 1000 libraries which were constructed to be late binding variations of essentially instances of classes. It started out as an elegant design but had been maintained for over a decade by large groups of programmers with varying levels of expertise. I can tell you some stories...
I, too, would have to be paid a lot for such a project.
John
I taught myself C using Borland Turbo C. In fact, I had taken a Fortran written matrix inversion and linear equation solving routine and converted it to C, and made it in to a graphical pump curve sizing program. It will still run under a DOS shell. I really want to make a Windows version but the graphics make up 90% of the code, and I have zero knowledge of the Windows programming environment.