Show newer

It seems that unit testing and private functions are opposed by convention in Cider and presumably other places -- a fact that can make TDD difficult since, hey -- I need to test that each line of the data spec is handled properly, but those shouldn't be exposed to library users. Solution settled on making a quasi-private namespace where we hide things that drive the main api functions -- technically still public, but documented for clients.

RT @daslu_
Recently I've been affected by mindful chats w/ @otfrom @kloimhardt @reborg @kiraemclean @TeodorHeggelund @lambduhh @metasoarous @ezmiller about community & knowledge building. Wholesome people are putting their thoughts into making things friendly. It makes me hopeful.

RT @borkdude
Dear hackers!

I've put up babashka.org/toolbox/ now which is a direct port of @weavejester 's clojure toolbox!

If you know more libs that are bb compatible, please submit a PR to the repo.

In when a function exceeds 2 sequential args it's time to consider using a map instead. In shell scripting, when bash exceeds single-level if statements, time to consider . Avoid questions like, "wait... has bash semantic whitespace?" "Do I need semicolons after every line?"

RT @dustingetz
3360 LOC for all of Photon, compiler, runtime, server, and standard library, including photon-dom (350) and photon-ui widgets (350) and including a bunch of inline RCF tests for the compiler which is too hard to factor out. + an additional 1200 LOC of language tests.

RT @RobStuttaford
So thankful that I can hotpatch servers via remote REPL in an emergency

RT @RobStuttaford
Heard from someone today that a user group I ran in Cape Town years ago helped them pick Clojure for their career and business, and they are now successful and happy because of it. Proud!

RT @lambdaisland
Are you a Clojure developer if you are not familiar with @borkdude stones?

Just in case you missed this at @clojuredconf,
thank @plexus and @nonrecursive for this meme for

TIL predicate dispatch. en.wikipedia.org/wiki/Predicat learned thanks to "smart people"® a la clojureverse.org/t/dispacio-pr . One of those things I never knew I never knew I never knew. Suppose you want to dispatch based on some 3rd-party or other dynamic value.

But syntax doesn't have to be hard. Enter , part of the "syntaxless" tradition where you can learn syntax and then it gets out of the way, even allowing you to compile down to those others (and many more)
---
RT @iambickky
JavaScript is Hard!
Python is Hard!
CSS is Hard!
Whole Programming is Hard !!
Yes, everything will be hard at first, but it will become easy once you start learning it and put your time and effor…
twitter.com/iambickky/status/1

Show older
Qoto Mastodon

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