:: Re: [DNG] Experiencing with GtkBuil…
Startseite
Nachricht löschen
Nachricht beantworten
Autor: Edward Bartolo
Datum:  
To: Rainer Weikusat, dng, aitor_czr
Betreff: Re: [DNG] Experiencing with GtkBuilder
Hi Aitor et al,

Thinking a little bit about C, and recalling what Reiner explained
earlier, I should think, we can create our own C library to handle
lists as in classes without actually importing more dependencies: for
that we use a struct that has function members, just like a class. Our
implementation shouldn't require class inheritance, so simple
structures should suffice.

What do you think?

Edward

On 23/11/2015, Edward Bartolo <edbarx@???> wrote:
>> Have you a preference for using c++ in netman?
>
> The frontend is a complex piece of software using lists. Some parts
> were complicated to code even in Lazarus Pascal: imagine the
> complexity required to achieve the same thing in C.
>
> Edward
>
>> On 22/11/2015, Rainer Weikusat <rainerweikusat@???> wrote:
>> Rainer Weikusat <rainerweikusat@???> writes:
>>
>> [...]
>>
>>> This mechanism as certain tendency make C++ developers go bezerk with a
>>> particular type of strong rage, but it's entirely usuable in practice,
>>> although more work than having it all laid out for oneself.
>>
>> In the interest of fairness: This 'more work' of course translates to
>> 'more opportunities for getting stuff wrong' and there's the additional
>> problem of "get away with it"-ism, especially in closed source software:
>> At least some people will - either based on principle[*] or because it
>> saves them work or they at least believe it will - break every 'softly
>> imposed' rule the believe to be able to get away with breaking. Hence,
>> unless the language/ compiler enforces access restrictions to
>> supposed-to-be internal-use only members of a data structure, people
>> will ignore them.
>>
>> [*] I've actually encountered people who refused to comply with
>> technical documentation on the ground that they aren't taking orders
>> from strangers ...
>> _______________________________________________
>> Dng mailing list
>> Dng@???
>> https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng
>>
>