On Thu, Apr 30, 2009 at 7:12 AM, Zach Welch <[email protected]> wrote:
> On Thu, 2009-04-30 at 05:17 +0200, Michael Bruck wrote:
>> On Thu, Apr 30, 2009 at 1:16 AM, Zach Welch <[email protected]> wrote:
>> > On Wed, 2009-04-29 at 17:25 -0500, Dick Hollenbeck wrote:
>> >>
>> >> What?   It is only several days to get this project to compile with C++,
>> >> maybe several weeks to "rewrite" it.   (Do we get to peek at the old
>> >> code when we "rewrite" it?  If not, it would be several years.)
>> >
>> > Having developed large projects in both languages, my approach would be
>> > different enough that they would be unrecognizable from one another.
>> > They would be two different projects.  At that point, preserve this C
>>
>> Could you elaborate on that ?
>
> At the most fundamental level, it comes down to this:
>
> C   == imperative programming
> C++ == object-oriented programming
>
> The different mindsets should yield completely different code.  Their
> overall architectures could be virtually identical, but the code would
> not be structured even remotely the same.

The current code looks to me as if in large parts it is a simulation
of C++ in C. It mostly is object-oriented. So I was curious if you had
thought of any specific things that you would structure differently.
My impression was that its just a matter of switching code that
simulates classes to code that are actual classes.

Michael
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to