Re: Problem with linker
"MrAsm" <mrasm@usa.com> wrote in message
news:va7v635823tjme26563nosp7upovv41vma@4ax.com...
It seems to me that Doug is in favor of default arguments...
And, at this point in this thread, I still think that default
arguments are a good tool, IMHO (as I wrote at the beginning of the
thread).
I like this "syntactic sugar" :) , as you define them.
(Of course, the good programmer will not abuse default arguments: if
we abuse "sugar", we could incur diabetes :)
I still don't quite understand why Joe is against about default
arguments only in ctors; I think that his examples were very "ad hoc",
very specific. If code is designed well IMHO default arguments can be
good also in ctors...
Even if I'm not a "language lawyer" and I have an attitude similar to
you David towards programming languages (a "practical programmer"), I
enjoy very much reading the C++ very experts like Doug explaining and
elaborating in details their points.
(For example, some Doug's posts pointed my attention to "exception
safety", which is a good thing for robust code, and I was kind of
ignoring it in some contexts.)
All good points, Asm. I also enjoy skimming Doug's posts (and yours too)
and do learn many significant things from them, whether I choose to engage
in a point for point debate or not.
-- David