A minor syntax request
pditchev at gmail.com
Tue Apr 16 10:50:06 UTC 2013
On 04/16/2013 01:32 PM, Alan Griffiths wrote:
> Putting * or & with the type has a long standing tradition within the
> C++ culture - it started with the first edition of "The C++
> Programming Language" and has been common practice ever since. There
> is an associated tradition of declaring each variable separately.
> (These two go together as "pretending" the type includes * or &
> doesn't work if multiple variables are declared.) This is very
> different to the C tradition.
I'm subscribed mainly as a spectator , but I have to note that the
tradition is less important than the program logic (in most cases ,
since we shouldn't keep the mistakes of the people before us till the
end of time) . If the C/C++ standard says that the */& belong to the
variable , then they should be visually associated with it .
More information about the Mir-devel