Re: C++ equivalent to spaghetti code



Richard Heathfield wrote:
James Kanze said:

<snip>

You can't really do accounting in C, for example,

Really? How strange. I've done loads of accounting in C. (But
then I've always been good at doing the impossible.)

I believe the reason for that attitude is that C does not guarantee
the detection of overflow in integer arithmetic. Instead it
permits all sorts of unrealistic actions. This makes it easy for
the programmer to accidentally use an arithmetical expression in
awkward places.

--
[mail]: Chuck F (cbfalconer at maineline dot net)
[page]: <http://cbfalconer.home.att.net>
Try the download section.

.



Relevant Pages