Well, all the examples I make are as how I would write them, not as how I would

On 7/19/12, Kartik Agaram <a...@akkartik.com> wrote:
> Alan, would you really prefer SPLIT/SPLICE to just combining clauses with
> the previous line when writing (
> http://article.gmane.org/gmane.lisp.readable-lisp/367)?
>
>     . list-of x
>     .   var in expr
>     .   clauses \ ...
>
> vs
>
> list-of (var in expr) clauses ...

Yes.  Because I expect list-of to be used in this manner:

let
 \
 . bar
 .   list-of quux(foo bar)
 .     foo in some-func()
 .     obs?(foo)
 .     nitz in some-other-func(foo)
 .     meow?(nitz)
 some-code(bar)

Since that's how I expect list-of to look like in code that uses
list-of, that's how I formatted my syntax-rules.

So, it serves as a hint as to how to properly format the macro.

>
> David Wheeler (http://article.gmane.org/gmane.lisp.readable-lisp/290):
>> We've been doing a lot of experimentation, and pressing various notations
> as "far as they will go" to maximize readability.  So you'll certainly see
> us try some odd things on occasion.
>
> I fear that 'pressing' might be distorting our sense of the relative
> frequency of different constructs. SPLIT/SPLICE is for arc's if; there it
> actually looks good as a separator. I would be less concerned about SPLIT
> if it's going to be fairly uncommon in other situations.
>
> Another example: I didn't even realize Common lisp permits
> backslash-escaping in symbols. Eeurgh! But nobody uses it, so it doesn't
> bother me and I don't have to bother with it.
>
> Perhaps we should bring up examples as we would write them, and explicitly
> state when a notation is being 'stretched'. This is an aesthetic project,
> so I think it's reasonable to have aesthetic opinions, rather than to try
> to accomodate hypothetical styles that we haven't encountered.

All the code I've been putting in examples/ is code as how I would write them.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Readable-discuss mailing list
Readable-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/readable-discuss

Reply via email to