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 80 chars is best when you want to have 2 or 3 files open at once.

@phoe I agree, which is why I tend to be very "conservative" about width

@cwebber @phoe It seems odd that we still worry about line widths when we're editing structured data like code. Why should the formatting even make it into the file?

@freakazoid @phoe @cwebber jup.
I don't get why we even commit the formatting.

Just let everyone run their own go-like formatter.

Whatever the build server doesn't need does not belong into the repo

Christopher Lemmer Webber @cwebber

@saxnot @freakazoid @phoe lisp pretty-printers are and have been perfectly capable of printing decent code for 50+ years. But I guess I still like hand-tuning it.

· Web · 0 · 3