Fork me on GitHub
#clojure-uk
<
2020-01-01
>
dharrigan07:01:51

Good Morning and Happy New Year Everyone!

seancorfield07:01:02

Welcome to the '20s! The next decade starts on January 1st, 2021 🙂

seancorfield07:01:36

Has your boy stopped being afraid of the robot yet @dharrigan?

dharrigan07:01:01

We have removed it from his toybox for the time being 🙂

dharrigan07:01:22

It's up, keeping me company, in my room, until he's a wee bit older. Probably for a few months 🙂

dharrigan07:01:40

You know, I've been writing tests past few days and I'm actually enjoying it! Somehow, writing unit tests with Clojure feels nice

seancorfield07:01:10

Hah, I've probably written more tests in Clojure than any other language!

seancorfield07:01:22

We have about 90k lines of Clojure, and 20k is tests.

seancorfield07:01:58

Most of it uses expectations.clojure.test

dharrigan07:01:45

One of the things that is soo nice, is being able to tweak the test whilst writing it, and evaluating it there and then in the REPL, and fix the failing code there and then and evaluate it...a very quick feedback cycle.

seancorfield07:01:37

Yup. That and having Spec be able to generate you conforming example-based test data as well as driving generative testing.

dharrigan07:01:59

tis all good 🙂 I must remember to bring in the expectations library

dharrigan07:01:39

right, have to pick up the kiddo

dharrigan07:01:48

and make breakfast

dharrigan07:01:52

a dopo! 🙂

dharrigan07:01:18

oh, and thanks Sean for the wonderful libraries you help write/support - I for one have used a lot of them (as you know!) in the past year

âž• 4
dharrigan07:01:22

thank you sir!

folcon12:01:07

Good Morning and Happy New Year!

flefik16:01:52

Happy New Year

jiriknesl16:01:05

Happy New Year

flefik17:01:04

Vim golf exercise: Transform:

(defn foo []
  bar
  )
into:
(defn foo []
  bar)

flefik17:01:44

Gxk$p is the best I can come up with

flefik18:01:49

of course!