Re: function pointers
- From: Ark Khasin <akhasin@xxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 07 Jan 2008 04:21:47 GMT
"Tom��������������������������������" wrote:
The only redudant checks I use in my programs are asserts.May I suggest that's a very dubious practice.
Debug build crashes predictably; Release build (with NDEBUG #define'd) either crashes unpredictably or wanders away mysteriously.
Use asserts for debugging and never for user input. On the API level, your user can be another programmer.
- Ark
.
- Follow-Ups:
- Re: function pointers
- From: Richard Heathfield
- Re: function pointers
- From: Tomás Ó hÉilidhe
- Re: function pointers
- From: cr88192
- Re: function pointers
- References:
- function pointers
- From: hifrnds007
- Re: function pointers
- From: Tomás Ó hÉilidhe
- Re: function pointers
- From: Michal Nazarewicz
- Re: function pointers
- From: Tomás Ó hÉilidhe
- function pointers
- Prev by Date: Re: Pointer conversions
- Next by Date: Re: Question about pointers and multi-dimension arrays
- Previous by thread: Re: function pointers
- Next by thread: Re: function pointers
- Index(es):