Deutsch   English   Français   Italiano  
<v4oros$hrgq$1@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!3.eu.feeder.erje.net!feeder.erje.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: "Chris M. Thomasson" <chris.m.thomasson.1@gmail.com>
Newsgroups: comp.lang.c
Subject: Re: Whaddaya think?
Date: Mon, 17 Jun 2024 01:22:51 -0700
Organization: A noiseless patient Spider
Lines: 34
Message-ID: <v4oros$hrgq$1@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>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 17 Jun 2024 10:22:52 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="c5aa21a2ffdc11ceb19a167156cbaefd";
	logging-data="585242"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18VHJap05uBkshz4gc0GkFdzy+LzX5Ntig="
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:y9dDAY8JJVAh5jyviCj+MdEQLuY=
Content-Language: en-US
In-Reply-To: <20240617003207.452@kylheku.com>
Bytes: 2338

On 6/17/2024 12:39 AM, Kaz Kylheku wrote:
> On 2024-06-17, James Kuyper <jameskuyper@alumni.caltech.edu> wrote:
>> On 6/16/24 12:20, DFS wrote:
>>> On 6/15/2024 6:22 PM, Keith Thompson wrote:
>>>> DFS <nospam@dfs.com> writes:
>> ...
>>>>> 	return(0);
>>>>
>>>> A minor style point: a return statement doesn't require parentheses.
>>>> IMHO using parentheses make it look too much like a function call.  I'd
>>>> write `return 0;`, or more likely I'd just omit it, since falling off
>>>> the end of main does an implicit `return 0;` (starting in C99).
>>>
>>> Can't omit it.  It's required by my brain.
> 
> I think DFS might mean that they find themselves unable to omit the
> unnecessary return 0 statement entirely.
> 
> I also hate it; I feel that the implicit return 0 in main is a
> misfeature that was added due to caving in to bad programmers.
> 
> Making int main(void) { } correct is like legalizing weed.
> Potheads are still potheads. Since I'm not one, I write a
> return statement in main.
[...]

Indeed! Toke, Toke...

Peter Tosh - Legalize It (Audio)

https://youtu.be/6cIePqdz03A

lol. :^)