I do not care heathfield.
You're as bad as each other. You won't listen to what he says, even
though he's right. He attacks everything you write, even when valid.
The programs returns zero for success or
an error code. Period. If the OS is completely broken and takes an
error code in a program as a reason to shutdown and erase all data in
the hard disk it is not MY FAULT.
Yes it is. If you wilfully cause the host to carry out such disastrous
action, or even if you negligently cause this to happen, you're no
better than a virus writer.
A good programmer /understands/ the environments he has to work in,
and doesn't do things that will upset them. If you programme only for
32-bit Intel-based Windows, then it may well be that what you propose
is fine.
However if you propose a tool in CLC, it has to be generic enough to
support a wide variety of platforms. You therefore need to understand
the differences between these, and either code for them, or round
them. Simply ignoring them is not an option, at least not for a
professional, which I believe you are. Ignoring real-world problems is
what gave us buffer overruns, abnormal programme terminations and so
forth.
--
Mark McIntyre
"Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it."
--Brian Kernighan