On 7/23/2014 4:39 AM, Ruben Van Boxem wrote:
> 2014-07-23 13:32 GMT+02:00 Óscar Fuentes <[email protected]
> <mailto:[email protected]>>:
>
> Ray Donnelly <[email protected] <mailto:[email protected]>>
> writes:
>
> > Hi Ruben,
> >
> > Please take this in the friendly/jokey manner it is intended.
> >
> > This isn't the first time you corrected me on the return value from
> > main when I'm making a test-case to demonstrate a compiler issue; I
> > honestly couldn't care less and my goal is to use the minimum amount
> > of characters and so following the standards doesn't come into it,
>
> `int' is one character less than `void' ;-)
>
>
> I was just about to write that :-P
Well, I too was about to write that -- but didn't since with an int
return the body of main would need to change too, wouldn't it?
Compare:
void main(){}
with
int main(){ return 0;} // perhaps return is not needed?
(I don't mind typing!)
> > but
> > if you feel you must point this out each time, I'll just consider
> it a
> > quirk and ignore it.
>
> I would do the same as Ruben. When I contribute help on a public mailing
> list, my message is not directed at the individual who asked, but to
> every potential reader, current or future.
>
> Whenever you post an incorrect piece of code, think that all sorts of
> users will read your message, including newbies that can "learn" by
> reading your posts. Hence, Ruben is counterbalancing your misinformation
> :-)
>
>
> Yeah, it's a positive side effect of me spending too much time on
> stackoverflow.com <http://stackoverflow.com>. I start spotting mistakes
> all over the place :-)
>
> (Thanks for the backup!)
>
> Ruben
>
>
> [snip]
>
------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public