[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: in defense of types

   Date: 29 May 2002 17:29:58 -0000
   From: Paul Graham <pg@archub.org>

   I'm not saying the military is mistaken here.  There are
   places where restrictions are good-- particularly when you
   don't trust individual people not to screw up. So requiring
   type declarations or other assertions (e.g. all the 
   boilerplate that seems to be required in Java) could be
   a good idea in some big company where the programmers
   are guys who walked in off the street after Learning Java
   in 21 Days.

I don't trust *myself* not to screw up.  Indeed, I make programming
mistakes frequently enough that I appreciate static assertion checks.