clojure-nl

Companies working with Clojure in The Netherlands: https://docs.google.com/spreadsheets/d/1NzOqY1v-OReB1IquUgHuT3Kh8K8jhPdlwBM6ds7id6Y/edit?usp=sharing
Stefan 2020-09-16T08:25:17.059700Z

Good morning!

Mno 2020-09-16T08:54:38.060Z

Mornin

borkdude 2020-09-16T09:23:49.060200Z

Morning

Stefan 2020-09-16T09:54:21.062100Z

We are planning to use something like spec in our codebase, to get more safety and better understand what everything is supposed to do. Do you have any practical advice? Like: spec vs schema (or both?!)? And best practices, like where to define the spec-related things (near the function, end of file, separate file, …)?

borkdude 2020-09-16T09:55:48.062700Z

@stefan.van.den.oord Spec is still alpha. The old spec (spec1) will be replaced with spec2 which is still undergoing changes. See #clojure-spec.

borkdude 2020-09-16T09:56:10.063500Z

Schema is fine for simple usage, but right now #malli might be more interesting to use

Mno 2020-09-16T09:56:22.063900Z

if you plan on using it both server and clientside Malli gets another +1 from me

Stefan 2020-09-16T09:56:29.064Z

Right, I heard that, but is that a reason to not start using it at this point? It’s working just fine isn’t it?

Stefan 2020-09-16T09:56:50.064700Z

I’ll check out malli, hadn’t heard about that before.

borkdude 2020-09-16T09:56:51.064800Z

@stefan.van.den.oord It depends if you want to migrate to spec2 later.

Mno 2020-09-16T09:57:41.065800Z

also ongoing changes will break things, including maybe a lot of your code, so it depends if you’re willing to risk that pain in the future…

borkdude 2020-09-16T09:58:31.066500Z

tl;dr: malli :)

Stefan 2020-09-16T09:58:38.066800Z

Ok I’ll also see what I can find about spec2, but given what you know at the moment, do you expect that to replace malli?

borkdude 2020-09-16T09:58:52.067300Z

(but malli might also be going through some changes, don't know how stable it is, ask in #malli)

Mno 2020-09-16T09:58:53.067400Z

unless you’re using yada? I think they use schema by default

borkdude 2020-09-16T09:59:07.067800Z

Yes, we use yada with Schema and that's great

Mno 2020-09-16T09:59:47.068700Z

I’m jealous, I hope I find a clojure job soon.

Stefan 2020-09-16T10:01:04.069900Z

Yeah I’m hoping for you as well @hobosarefriends. What’s your experience level would you say? (In Clojure specifically and in dev generally)

Stefan 2020-09-16T10:01:58.070300Z

(AFK for a while, I’ll check back later)

Mno 2020-09-16T10:03:10.071500Z

About 4 years general and 0 professional in Clojure (which is the main problem), all I have to show for my Clojure is some hobby projects that never went anywhere (which is my secondary problem).

Mno 2020-09-16T10:03:26.071900Z

Good luck!

gklijs 2020-09-16T10:43:24.076700Z

Programming language is not everything, as long as it isn’t Scala 😉

Mno 2020-09-16T10:52:54.078500Z

I can’t help but admit I miss some of the IDE powers scala had since I’m writing ruby at the moment, but I wouldn’t go back.

Mno 2020-09-16T10:53:18.078900Z

Ruby friendly, it hugs me and tells me everything is gonna be ok.

2020-09-16T12:10:44.079900Z

and you know I’m happy to vouch for you as a reference if it can help 🙂

❤️ 3
Mno 2020-09-16T12:23:02.080400Z

Thanks bud!