bearophile <bearophileh...@lycos.com> wrote:
Simen kjaeraas:
Mind giving examples to this one? I thought this was a big no-no.
There are few silent differences, among them there are:
- usage of global floating point variables/arrays that in some C
programs are used without initialization, assuming they are set to zero.
- fixed-sized arrays passed around by reference in C and by value in D2.
By Golly¹, you're right!
Those certainly are worth mentioning, at least the latter. The former
could be seen as bad style, but certainly something someone would do.
¹) I mostly just wanted an excuse to say 'By Golly')
--
Simen