Thomas Lord scripsit: > On Fri, 2009-02-20 at 18:24 -0800, Arthur A. Gleckler wrote: > > > Type type = new Type(); > > > What asshat writes that kind of code? Why does the freaking language > definition need to guard against that particular asshat.
Asshattery or not, this is the standard convention for declaring an initialized local variable in Java. It would look like this in CL, providing you set the current readtable's case to :preserve : (let ((type (make-instance 'Type))) (declare (type Type type)) ...) Which indeed looks pretty stoopit. But when I hear someone in a Java context say "type type equals new type", I know exactly what is meant. -- John Cowan <[email protected]> Yakka foob mog. Grug pubbawup zink wattoom gazork. Chumble spuzz. --Calvin, giving Newton's First Law "in his own words" _______________________________________________ r6rs-discuss mailing list [email protected] http://lists.r6rs.org/cgi-bin/mailman/listinfo/r6rs-discuss
