Re: An: "I'm just learning" C question

From: Willem (willem_at_stack.nl)
Date: 01/16/04


Date: Fri, 16 Jan 2004 22:57:43 +0000 (UTC)

J. wrote:
) No no no no.. Both methods will work ;-)

Obviously, but the comment was 'not necessary'. Which does not imply that
it won't work, just that you don't need to use a practice that is widely
accepted as being unwise.

) I suppose the best solution depends
) on if you only want to grab that root node on the first shot or keep it
) around for awhile so it can be accessed by other functions later.

Usually you pass it around the functions. That's thread-safer and more
maintainable.

SaSW, Willem

-- 
Disclaimer: I am in no way responsible for any of the statements
            made in the above text. For all I know I might be
            drugged or something..
            No I'm not paranoid. You all think I'm paranoid, don't you !
#EOT


Relevant Pages