Re: Implementing library algorithms
* Default User:[color=blue]
> Alf P. Steinbach wrote:
>[color=green]
> > * Default User:[/color]
>[color=green][color=darkred]
> > > I think this is dumb advice. What the OP has is in no way
> > > incorrect or non-standard. Find real things to complain about
> > > rather than this bizarre hobbyhorse of yours.[/color]
> >
> > We who provide the help in this corner of Usenet unfortunately have to
> > put up with complaints and fabrications such as yours.[/color]
>
> Nonsense. You're dispensing stylistic preference. There's nothing AT
> ALL wrong with returning 0 from main(). You just don't happen to like
> it, so you chide newbies about it. That isn't help.[/color]
That is fabrication.
I wrote
"Unnecessar y. If you do provide an explicit return from main, consider
using the constants EXIT_SUCCESS and EXIT_FAILURE. Saying what you're
doing."
Perhaps it's "dumb" (as you write) for newbies to know, perhaps it's
dumb to even consider using the features of the language and standard
library, perhaps it's chiding to mention that these things exist, but I
don't see it that way: I think especially newbies are helped by being
given information, and in no way helped by having purely informative
statements being given person-oriented, negative spins such as yours, so
that the newbie must doubt both the information and the source.
--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
* Default User:[color=blue]
> Alf P. Steinbach wrote:
>[color=green]
> > * Default User:[/color]
>[color=green][color=darkred]
> > > I think this is dumb advice. What the OP has is in no way
> > > incorrect or non-standard. Find real things to complain about
> > > rather than this bizarre hobbyhorse of yours.[/color]
> >
> > We who provide the help in this corner of Usenet unfortunately have to
> > put up with complaints and fabrications such as yours.[/color]
>
> Nonsense. You're dispensing stylistic preference. There's nothing AT
> ALL wrong with returning 0 from main(). You just don't happen to like
> it, so you chide newbies about it. That isn't help.[/color]
That is fabrication.
I wrote
"Unnecessar y. If you do provide an explicit return from main, consider
using the constants EXIT_SUCCESS and EXIT_FAILURE. Saying what you're
doing."
Perhaps it's "dumb" (as you write) for newbies to know, perhaps it's
dumb to even consider using the features of the language and standard
library, perhaps it's chiding to mention that these things exist, but I
don't see it that way: I think especially newbies are helped by being
given information, and in no way helped by having purely informative
statements being given person-oriented, negative spins such as yours, so
that the newbie must doubt both the information and the source.
--
A: Because it messes up the order in which people normally read text.
Q: Why is it such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
Comment