Re: [PATCH] GIterator


Just to add a dissenting voice - I think GLib containers probably
should have been done with iterators in the first place, but failing
that, IMO having two ways to do iteration adds too much extra
complexity to be worth it. It's better if there's only one way to do

We would end up sort of pseudo-deprecating all the foreach()
functions, all functions that return a list, list->next style
iteration, etc., and that's just too much churn in the "recommended"
API set, even if the old API still works.


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