Hacker News new | ask | show | jobs
by everforward 9 days ago
They are a pain if they get unbalanced if you aren’t using paredit. Like if I vi delete the last line of a function out of habit it’s a pain to get them back in the right order.

It’s easier if everything is parens, just hit paren til the errors are gone.

1 comments

Ah I see. That makes sense.

That’s making me really thankful to be a paredit user.

Learning paredit is on my list of things to do.

I've been loving Clojure for hobby projects lately but my editing setup sucks for Clojure. The vi commands I'm used to using are bad in Clojure (eg copying by line almost always means unbalanced parens), and the autocomplete LLMs are very inconsistent about closing syntax correctly.

It seems super cool, I just haven't done it enough for my brain to reach for paredit keybinds instead of vim chords.