@peterdrake yes, in Clojure-like inter-opping lisps, Null ≅ nil is the ONLY falsy value, so it is easy to just say `(if x)` to cover that logical state. No need to check equality; just check it itself.
#ClojureScript #ShadowCLJS One of my projects for the past year has been converting an old PDF multimedia app into a static web site. Since #Clojure is better than raw HTML or CSS, I crafted it there before grabbing the output static stuff. It is 99% JS-free, except for optional media lightboxes, and is built to last as long as HTML does, and to run as simply as possible. #ClojureScript #ShadowCLJS
@peterdrake as a happy Clojure dev I find myself wondering, why should developers want to write "if x != 0"? Why is it any better than "if x != 'cat'"? And why should language designers treat it specially?
@davep @peterdrake Interesting that in Clojure boolean only exist for interop purposes. Is it really a necessary type?
@peterdrake is zero true for C compatibility?
@schemer I think the hosted-language, JS/Java interop factors are Clojure's biggest win vs The Lisp Curse.
Scheme lover? Are you on Guix? That is why I'm trying to learn some Scheme
RT @parensofthedead
We're kickstarting the new season of http://parens-of-the-dead.com by releasing two new episodes this beautiful friday. Have a nice weekend, everyone!
RT @fndriven
My Biff adventure continues. It is really good to learn backend while keeping frontend madness level low enough. https://biffweb.com/ #Clojure
@veer66 I guess there is some connection there. But it mostly just takes effect if you feed that element to some other processor which you've instructed to treat the args as such, such as CSS or JS, right?
This looks promising. https://en.wikipedia.org/wiki/Urbit
RT @clojurejobboard
.@SharecareInc is searching for: Sr. #AI Engineer - #Remote #RemoteWork 🇺🇸 https://ClojureJobboard.com/clojure-job/gf-remote-sr-ai-engineer-remote-sharecare-remotework.html #clojure #wfh #workfromhome
Ah, this is cool. Rosetta Code may be just what I need when I want to know, "what does that language even look like?"
Plus, learned new stuff. #Clojure `cycle` has actually been there from the start!?
https://rosettacode.org/wiki/FizzBuzz
Got it! I installed a bunch of fonts to my #Guix last week and, some reboots later, today I realized that I am seeing the actual characters!
Full Stack Clojure web app engineer