Christopher Lemmer Webber is a user on octodon.social. You can follow them or interact with them if you have an account anywhere in the fediverse. If you don't, you can sign up here.

Tag urself on lisp indentation style:

;; I'm afraid of passing 80 characters
(proc1
arg1 arg2
(proc2
arg1 arg2
(cond
[(foo)
(bar 'baz 'quux)]
[else
(beep boop 'bop)])))

;; Everyone has wide monitors these days anyway right?????
(proc1 arg1 arg2
(proc2 arg1 arg2 (cond [(foo) (bar 'baz 'quux)]
[else (beep boop 'bop)])))

@cwebber when I was first learning Scheme it was in college and I indented it like C:

(define foo
(lambda (x y)
)
)

I got a direct mail from the TA about that one.

Nowadays when I do Scheme I do it's usually style #1
Christopher Lemmer Webber @cwebber

@ninjawedding Yeah that's probably the worst thing to do, but it's understandable how someone might make a mistake like that if they've come from something C-like.

· Web · 0 · 0