From: Arjen M. <arj...@de...> - 2011-03-09 08:00:13
|
Hi Maurice, Alan, On 2011-03-09 08:53, Maurice LeBrun wrote: > On Tuesday, March 8, 2011 at 19:58:26 (-0800) Alan W. Irwin writes: > > I have already had one positive response off-list from Andrew on this > > question so I have decided to start the process to see how far I can > > get. > > I just *have* to post the const-nazi bit here. Apologies to anyone who is > offended by the portrayal (btw my mom's side of the family is German). I > thought it was really funny. And, although sometimes it's a PITA, I do really > like const. > > http://gamesfromwithin.com/the-const-nazi > my C skills mostly predate the introduction of const, but perhaps this web page will clarify to me _how_ to use it. Frankly, I have been puzzled over the correct use/placement of the keyword and that has probably led to me never really looking into it. I agree though that if this will clarify the intended use of the arguments (if only to the human reader), we should use it. Regards, Arjen DISCLAIMER: This message is intended exclusively for the addressee(s) and may contain confidential and privileged information. If you are not the intended recipient please notify the sender immediately and destroy this message. Unauthorized use, disclosure or copying of this message is strictly prohibited. The foundation 'Stichting Deltares', which has its seat at Delft, The Netherlands, Commercial Registration Number 41146461, is not liable in any way whatsoever for consequences and/or damages resulting from the improper, incomplete and untimely dispatch, receipt and/or content of this e-mail. |