Live data from Hacker News

JUXT Clojure Radar 2021

juxt.pro

11–13 of 13 posts

Re: JUXT Clojure Radar 2021

#11

i'm so happy to see paredit mentioned, it's that tiny gem that never failed to be awesome in decades.. thanks to all involved https://www.emacswiki.org/emacs/ParEdit

How does it compare with smartparens?

Can't honestly say. Some people on #emacs told me that with some config SP was a superset of paredit. It's just that paredit was first and did 90% of my needs. It was also that weird mode that made me think structurally. It's some sort of a tradition you know.

Re: JUXT Clojure Radar 2021

#12
post #10

Clojure looks like almost my ideal programming language, nice tooling, features that work well together, and not too hard to learn thanks to great beginner resources, awesome REPL, frontend support. But I do like my types, so basically I'm conflicted.

In clojure you will likely use spec for your data instead of using types. This is a different approach worth checking out.

I thought spec wasn't that great? Or was this some time ago and it has improved meanwhile?

I also saw TypedClojure but not sure what to choose.

Re: JUXT Clojure Radar 2021

#13
post #10

Earlier quoted context omitted.

In clojure you will likely use spec for your data instead of using types. This is a different approach worth checking out.

I thought spec wasn't that great? Or was this some time ago and it has improved meanwhile? I also saw TypedClojure but not sure what to choose.

Before going typedclojure. There is also malli, there is also schema.

People have this urge for types, but I would give it a shot and apply types/validation when you really need or miss important edgecase etc.

Spec is good if you need something robust and highly composable. Its always a tradeoff, but it has the best flexibility.

Post reply on HN