Show newer

Some readable and codebases. Discussing readability requires an obligatory mention of @elementsofclj book too.

- This project tangles orgmode to for literate programming. github.com/thi-ng/geom/blob/fe

- For a major used library, I knew I couldn't go wrong with Corfield, so check out HoneySQL github.com/seancorfield/honeys

- Here is a new in-development one with the Lambda Island stamp of approval, asd seems pretty readable to me:
github.com/lambdaisland/deja-f

- And here is a small old "finished" one where I recently read the code to figure out how to do what the docs didn't mention:
github.com/alandipert/storage-

I've never done inline tests, instead keeping them in their own NS, but for unit tests this is worth considering
---
RT @pappapez
@VincentCantin @JonPMasters @sfyire I've seen pretty large systems where inlined tests are used throughout and where it helps a lot, and also other systems where the code get pretty much unreadable because you have to wade through a kilometer of tests to reach the implementation.
twitter.com/pappapez/status/14

... and, beautifully recursive solution:
---
RT @JBiserkov
@sfyire (defn one-edit-away? [a b]
(cond (= a b) true
(= (first a) (first b)) (recur (subs a 1) (subs b 1))
:else (= (if (>= (count a) (count b)) (subs a 1) a)
(if (>= (count b) (count a)) (subs b 1) b))))

code golf is amazing, thanks for this
twitter.com/JBiserkov/status/1

Level 3 learning Dvorak keyboard: write some regex replacements. Converting to data structures. I try to explain to folks how much a part of my daily life are regexp....

Just read a libraries code to figure out how to supplement its Transit readers, easy peasy, because the docs haven't been updated in years and didn't include that tidbit. Feels good!

RT @scicloj
Do you like and wish to know more about ?
Join our study session this Saturday.

(We're also continuing our usual path with data science study sessions on Sunday.) twitter.com/clojureverse/statu

RT @martensytema
Functions and Data.

That's it, that's the tweet.

Todo: write on this from a perspective. Should we make a Garden repo of canned styles? How do the mainstream preprocessors like SASS tie in to this?
---
RT @denicmarko
CSS generators can save you a lot of time and effort.

🧵
twitter.com/denicmarko/status/

RT @borkdude
This is a list of companies using , a linter for that sparks joy!

github.com/clj-kondo/clj-kondo

If your company or project is using clj-kondo, reach out here to get yours listed:

github.com/clj-kondo/clj-kondo

RT @RobStuttaford
We shut down an internal content management tool today.

It was built by Clojure newbies (us in 2013). It served us for 8 years!

are stable tech :-)

RT @davidvujic
When learning a new language, you bring good things to other areas. REPL Driven Development is something I’ve learned through .

I love it. 😍

Can we also do that in ?

Here’s some ideas:

davidvujic.blogspot.com/2021/0

RT @borkdude
This week I took a hard decision: I quit my long-time job to work more on OSS.

I wouldn't have done this without @RoamResearch, @cognitect, @usenextjournal, @AdGojiDSP, @health_samurai, @Pitch and I hope you or your company will follow!

github.com/sponsors/borkdude twitter.com/grzm/status/144394

This is a good thing. In and , all spaces are equivalent to one space, and that includes commas. I am not a fan of Semantic Whitespace like Python.

Need some extra space displayed on a page? For Heaven's sake, use !
---
RT @chriscoyier
how much space is a space?

i like how html is like...

one space? one space
2 spaces? one space
50 spaces?! one space
100000 spaces??? one space, bruv
twitter.com/chriscoyier/status

RT @Remy_sajoR
Learn yourself a so you never deal with this sort of "yes, but actually no" shenanigans twitter.com/mathsppblog/status

RT @AdamHelins
Awesome, first Convex hangout on how to build dApps in @convex_world

RT @borkdude
The argument parsing code of neil is basic, short and effective. Subcommands + key/values. Every subcommand gets to pick their arguments from the set of key/values.

github.com/babashka/neil

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.