Deutsch English Français Italiano |
<v4pkea$n98h$2@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Richard Harnden <richard.nospam@gmail.invalid> Newsgroups: comp.lang.c Subject: Re: Whaddaya think? Date: Mon, 17 Jun 2024 16:23:54 +0100 Organization: A noiseless patient Spider Lines: 20 Message-ID: <v4pkea$n98h$2@dont-email.me> References: <666ded36$0$958$882e4bbb@reader.netnews.com> <87ed8x4zjl.fsf@nosuchdomain.example.com> <666f10b7$0$1412896$882e4bbb@reader.netnews.com> <v4o7om$er18$1@dont-email.me> <20240617003207.452@kylheku.com> <66703f13$0$7062$882e4bbb@reader.netnews.com> Reply-To: richard.harnden@invalid.com MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Mon, 17 Jun 2024 17:23:54 +0200 (CEST) Injection-Info: dont-email.me; posting-host="adebfc758c55f317ee4a5e3ad2ba1ae4"; logging-data="763153"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+niSplRs8JmZ+ehwDBz/3Hu5spRjTc300=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:Do+lR7kRoXcwxUBhKny6YbB5kDY= In-Reply-To: <66703f13$0$7062$882e4bbb@reader.netnews.com> Content-Language: en-GB Bytes: 1801 On 17/06/2024 14:50, DFS wrote: > On 6/17/2024 3:39 AM, Kaz Kylheku wrote: > >> I think DFS might mean that they find themselves > > he finds himself > > >> unable to omit the unnecessary return 0 statement entirely. > > yes > > If a function is defined to return an int, then you should return one. Anything else is just lazy/sloppy. Just because main allows it as a special case doesn't mean it's a good idea. I mean: it's really not much extra to type.