considering doing Lisp Crimes™ by making { } shorthand for progn or block or whatever

I'm definitely planning to make my if statement function like cond and eat any aesthetic "else" and "if" between expressions so I can do

(if (< x 0)
(foo)
else if (> x 10)
(bar)
else
(baz))

Because lisp code is hard to read and there's no reason for me not to just discard those as whitespace

Follow

@eniko then you need to write a linter to force you to write the if and else.

Sign in to participate in the conversation
Mastodon

a Schelling point for those who seek one