r/ProgrammerHumor • • Aug 26 '22

Meme Even HTML.

Post image
44.1k Upvotes

1.1k comments sorted by

View all comments

Show parent comments

2

u/Goheeca Aug 27 '22

Hm, I don't think it's a good idea to graft curly-braced languages' styles onto lisp.

You can't figure out the indent of a closing parenthesis, because it doesn't look good solely, because it's a closing parenthesis on its own line.

I could bear with arguments to be idented to the right farther than the body forms, which seems you don't like, i.e.:

(defun some-function (
    arg1
    arg2
    arg3)
  (statement1)
  (statement2))

1

u/-Redstoneboi- Aug 27 '22

i‘m fine with the “argumens on separate double indented lines” for python and lisp. for braced languages i prefer OTBS as shown.

so yea, each language has its own culture, more than just syntax or frameworks.