🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.c
Article #1248

Re: .5 against 0.5f

#1248
From: James Kuyper
Date: Sun, 01 Nov 2026 22:15
29 lines
2507 bytes
On 2026-10-29 17:55, Janis Papanagnou wrote:
> On 2026-10-29 20:49, Dan Cross wrote:
>> [...]
>>
>> But again, the whole premise (that a programmer familiar with C>> would ever think that `return` is a function) is silly.

Agreed. The misconception is far more common among those who aren't very
familiar with C.
> Yes, that's hard to believe.

See
<https://stackoverflow.com/questions/2781244/is-return-an-operator-or-a-function>

The following were all posted to comp.lang.c:

On 1997-03-05, Raymond J Tompkins posted a message whose title was
"Return() function, is it???" which starts out "I'm trying to use the
return() function ...".

On 2003-03-15, Ankur Vyas posted a message whose title was "return
function".

On 2010-08-28, Tony Clough wrote that
"One possible problem with C as compared to other languages like Perl or
Shell is that function calls require parentheses which leads to
cluttered code. (But there are some funny exceptions in the standard
library though, eg return and size_of do not need parentheses)"

It's not, by any means, a common misconception, but it does occur.
Technical Details
Message-ID: <11c8dls$2chr0$1@dont-email.me>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <11bpvs7$1e6kc$2@dont-email.me> <868q3hmie0.fsf@linuxsc.com> <11bu8oi$2up7m$1@dont-email.me> <11bvqbn$3g0tj$1@dont-email.me> <11c07vf$lhk$1@reader2.panix.com> <11c0fcj$2t865$2@dont-email.me>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: James Kuyper <jameskuyper@alumni.caltech.edu>
Newsgroups: comp.lang.c
Subject: Re: .5 against 0.5f
Date: Sun, 1 Nov 2026 17:15:23 -0500
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <11c8dls$2chr0$1@dont-email.me>
References: <11bpvs7$1e6kc$2@dont-email.me> <868q3hmie0.fsf@linuxsc.com>
 <11bu8oi$2up7m$1@dont-email.me> <11bvqbn$3g0tj$1@dont-email.me>
 <11c07vf$lhk$1@reader2.panix.com> <11c0fcj$2t865$2@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
Injection-Date: Sun, 01 Nov 2026 22:15:25 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2508640"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX1/Qil48uvfjbxtK3pDrUCzgaVWuZCf/uGg="; posting-host="1ff1e27b88a6dacc5b805f57bce43cf0"
User-Agent: Mozilla Thunderbird
Cancel-Lock: sha1:2Z7pOewYxPA5R/t4oPAoRhNE1p0= sha256:1rVKKKj7jxmQi2Ix06VbC9cHfg365OCTDt1OO/eT1wY=
	sha1:o+Yhksy2zgvJKIcvjg0QZb19VI0= sha256:Zve+lPnJyYzOKkLIqH+emdaICWvHStt4H+ziZljM42k=
In-Reply-To: <11c0fcj$2t865$2@dont-email.me>
Content-Language: en-US