[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
SETF clarification
- To: JONL at MIT-MC
- Subject: SETF clarification
- From: Robert W. Kerns <RWK at MIT-MC>
- Date: Fri, 15 Aug 80 03:45:00 GMT
- Cc: KMP at MIT-MC, BUG-LISP at MIT-MC, BUG-LISPM at MIT-MC
- Original-date: 14 August 1980 23:45-EDT
As the leading advocate of returning the value like SETQ, I have written much
code assuming that it returns the value like SETQ. I don't know exactly how
much of it actually DOES use it, I don't use it any more than I use the return
value from SETQ. But I'd rather be able to write (PRINT (SETF foo bar))
than (LET ((BAR bar)) (SETF foo BAR) (PRINT BAR)), just like I'd rather do the
same with SETQ. I believe it to be more readable; brevity can HELP
readability!