geany/geany — comment on commit efcce8808e92ba56684605790959cb014a11c9c8
File:  line 0
By b4n:

Le 11/11/2011 04:47, Matthew Brush a écrit :
> I personally just don't think `setptr` or `utils_rebind` are needed at all.
> It's basically only for code-writing syntactic sugar and it's one more
> thing the reader (and writer even) of the code must take into consideration
> since it's not widely recognized. Sure it means an extra 2 or 3 lines of
> code in a function, but it also means the logic of that is right there while
> reading the function without the reader having to go look to see what it does.
> C is a verbose language anyway, a few extra short lines for clarity wouldn't
> hurt, especially since it's just replaced by the CPP anyway. If it wasn't a
> common C idiom, I would for sure be in favour of a separate function.

Well, I understand you point, but IMHO the one can easily argue the
contrary: once you learned what setptr() does, which honestly isn't that
complicated, and the name suggests it, you don't need to read and
understand 3+ lines everywhere.