:: Re: [DNG] Experiencing with GtkBuil…
Inizio della pagina
Delete this message
Reply to this message
Autore: Edward Bartolo
Data:  
To: dng, Steve Litt, aitor_czr
Oggetto: Re: [DNG] Experiencing with GtkBuilder
Hi All,

That pascal class was horribly written with nested functions down to
four or five levels! Imagine having to translate that without using
nested functions. I worked around by using local classes and passed
parameters with pointers.

Netman's frontend was written without using nested functions as I
learnt my lesson to never again use them.

Edward

On 24/11/2015, Edward Bartolo <edbarx@???> wrote:
> Hi Aitor et al,
>
> What about directly translating the Object Pascal code into C instead
> of doing a reimplementation of the logic? I remember, once I had a
> Pascal class that took me six months to write which I translated into
> C++ within a month. I think, this is the most practical approach.
>
> There are also Pascal into C translators which I am thinking of trying
> although the translated code would still need inspection before
> deployment.
>
> Edward
>
>
> On 24/11/2015, Steve Litt <slitt@???> wrote:
>> On Tue, 24 Nov 2015 00:11:12 +0100
>> aitor_czr <aitor_czr@???> wrote:
>>
>>> Hi Steve,
>>>
>>> I would argue that it's possible a "OOP" development without a OOP
>>> language.
>>
>> Yes, that's one of the points I was making: You can do it in C.
>>
>>>
>>> The "OOP" development is in the mind of the developer.
>>
>> True, and you never *really* realize that til you've programmed in
>> Lua, where there are probably a half a dozen different ways to OOP.
>>
>> SteveT
>>
>> Steve Litt
>> November 2015 featured book: Troubleshooting Techniques
>>      of the Successful Technologist
>> http://www.troubleshooters.com/techniques
>> _______________________________________________
>> Dng mailing list
>> Dng@???
>> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

>>
>