Inline code in the docs - the correct way OT: lisp

H. S. Teoh hsteoh at quickfur.ath.cx
Mon Feb 5 18:38:45 UTC 2018


On Mon, Feb 05, 2018 at 06:38:22PM +0000, Patrick Schluter via Digitalmars-d wrote:
[...]
> When I programmed AutoLISP extension in AutoCAD I would use
> parentheses in the exact same way as I use { } in C. So not at the end
> of a line but vertically at the level of indentation;
> 
>     (defun xy
>       (car
>          (cdr
>             (cons a b)
>          )
>       )
>     )
> 
> This made it much better to handle.

That's also my personal preference. Unfortunately, such practice is
frowned upon by some Scheme communities.  Why, is absolutely beyond me.
:-D


T

-- 
LINUX = Lousy Interface for Nefarious Unix Xenophobes.


More information about the Digitalmars-d mailing list