Subject: Re: main return...
To: None <perry@piermont.com>
From: Michael L. VanLoon -- HeadCandy.com <michaelv@HeadCandy.com>
List: current-users
Date: 03/26/1996 17:05:47
>Ty Sarna writes:
>> Still though, void main in "hosted" (~= userland) programs is SO common
>> that the standard might as well be changed to allow it.

>Many bad practices are common. A compiler warning or two and thirty
>seconds hacking one time too many will retrain people. I was a bit
>unclear on this point once, but a vicious compiler taught me the right
>thing.

As will spending any decent amount of time in a C++ environment, where
it's an error (not warning) to return the incorrect type, or not
return where a return code is declared.

-----------------------------------------------------------------------------
  Michael L. VanLoon                                 michaelv@HeadCandy.com
       --<  Free your mind and your machine -- NetBSD free un*x  >--
     NetBSD working ports: 386+PC, Mac 68k, Amiga, HP300, Sun3, Sun4,
                           DEC PMAX (MIPS), DEC Alpha, PC532
     NetBSD ports in progress: VAX, Atari 68k, others...
-----------------------------------------------------------------------------