#Clojure 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.
https://twitter.com/pappapez/status/1446772644020371456
... 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))))
#Clojure code golf is amazing, thanks for this
https://twitter.com/JBiserkov/status/1446274027748737038
RT @borkdude
Thank you https://github.com/holyjak for sponsoring #clojure OSS developers!
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! #Clojure #ClojureScript
RT @scicloj
Do you like #Clojure and wish to know more about #DataVisualization ?
Join our study session this Saturday.
(We're also continuing our usual path with data science study sessions on Sunday.) https://twitter.com/clojureverse/status/1445684349492289544
RT @the_lazy_folder
A #clojure flavoured SICP. https://twitter.com/gneissguise/status/1445754874642063373
RT @borkdude
This is a list of companies using #cljKondo, a linter for #clojure that sparks joy!
https://github.com/clj-kondo/clj-kondo/blob/master/doc/companies.md
If your company or project is using clj-kondo, reach out here to get yours listed:
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!
#clojure #clojurescript #datomic 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 #Clojure.
I love it. 😍
Can we also do that in #Python?
Here’s some ideas:
https://davidvujic.blogspot.com/2021/09/can-we-have-that-in-python-too.html
RT @borkdude
This escalated quickly: Calva already published a new version where the #nbbjs nrepl-server works as expected.
See https://github.com/borkdude/nbb#nrepl.
#clojurescript #clojure #nrepl https://twitter.com/pappapez/status/1444234821912436739
RT @borkdude
This week I took a hard decision: I quit my long-time job to work more on #clojure OSS.
I wouldn't have done this without @RoamResearch, @cognitect, @usenextjournal, @AdGojiDSP, @health_samurai, @Pitch and I hope you or your #clojure company will follow!
https://github.com/sponsors/borkdude https://twitter.com/grzm/status/1443943635146399747
This is a good thing. In #Clojure and #ClojureScript, 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 #CSS!
---
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
https://twitter.com/chriscoyier/status/1443581984991707137
RT @Remy_sajoR
Learn yourself a #clojure so you never deal with this sort of "yes, but actually no" shenanigans https://twitter.com/mathsppblog/status/1442831659506745349
RT @AdamHelins
Awesome, first Convex hangout on how to build dApps in #clojure #blockchain @convex_world
#clojure #emacs interop
---
RT @LittleFunnyGeek
@Endless_WebDev https://github.com/clojure-emacs/clomacs
https://twitter.com/LittleFunnyGeek/status/1443177085997101062
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.
I haven't heard it called "key-value" before, just referring to #Clojure maps, Python dictionaries, JS objects. Some of these old lisps are awkward at making these things, though.
Full Stack Clojure web app engineer