Re: [xml] xmlNodeListGetString
- From: Rich Salz <rsalz datapower com>
- To: Daniel Veillard <veillard redhat com>
- Cc: Kendrick Hamilton <hamilton sedsystems ca>, "xml gnome org" <xml gnome org>
- Subject: Re: [xml] xmlNodeListGetString
- Date: Fri, 20 Dec 2002 19:46:53 -0500 (EST)
I find const very useful, particularly in "struct pointers in signature."
So when a good programmer feels the exact opposite, I figure I should know
why -- I'll probably learn something.
Because the mental representation in term of register, stack usage
etc. that I have of a C function call do not integrate that property,
for those structure, so I don't reflect it at the code level.
Let me guess: you miss the days of C from Unix 7th Edition. :)
I also have seen hard to track bugs because of const use in the past
for complex structures and I don't even want to take the risk of a
possible compiler bug.
That makes sense. I guess I've been lucky and never came across this.
/r$
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]