RE: to GList or not to GList?



However, in my opinion, it is a bad ideia to rely on
glib to supply your list needs, unless you are writting
a small app. The core of an application should not deppend 
of glib, which primary purpose is to support gtk needs.
If you change the GUI toolkit, the inner core, the engine 
of your program, should remain the same. Yes, this means
to have your own lists in the code, not those supplied
by the GUI toolkit.
  But imho programmer should use Havoc's method ;-)
  i.e. cut appropriate code from glib (i.e. list's code).
  So we: (1) don't invent wheel
         (2) get checked and tested code
         (3) cut off navel-string: we can use that code
             with any GUI, even if that GUI use another glib
             version or doesn't use it at all.
         ...

---
 Dmitry Ponomaryov





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]