return expr considered harmful

M Kaufman mek at pyuxss.UUCP
Fri May 18 23:56:24 AEST 1984


<>
Okay, enough already. return (expr) is used by some folks, including
yours truly, whose first language was not C.
The first programming language affects how you think
and see other, subsequently learned languages; so many other
languages use return (expr) that an experienced programmer would, when
learning C, consciously or unconsciously, map return expr into something
already known. This isn't a crime; so what if it looks like a
function call? Give me a break! This newsgroup should probably be called
net.trivia, although that one already exists.
How about "net.mental-masturbation?".

grumble grumble ++++-----++++****/*/*/*/*/*matt kaufman



More information about the Comp.lang.c mailing list