Michiel Borkent
Michiel Borkent
Seems good to me!
I usually do this in bindings (argument names, local bindings, etc) and var names that are intended as predicates, but not for configured values in EDN files or metadata. This...
Another consideration for the style guide: * IF you are using `?` for a predicate THEN your function is expected to return a boolean. There was a lot of debate...
@bbatsov The convention that clj-kondo ended up adopting: If a namespace has been required without `:refer` or `:alias` then it is assumed to be required for side effects and will...
`org.clojure/data.json` `2.0.0` just came out with significant speed up. This was the announcement on Clojurians Slack: ``` This release introduces significant speed improvements in both reading and writing json, while...
From @slipset: ``` 1. remove the dynamic vars and pass them explicitly as an options map 2. for reading, split reading strings into two paths, the quick one (without any...
It is a known issue that the 3 arity version of `assoc` and `assoc!` are faster than their varargs counterparts, so using multiple `assoc!` with 1 kvs instead of one...
@dakrone I am also running into this issue. It would be great if we could call `parse-stream` multiple times on the same reader. I have this use case: ``` Content-Type:...
@dakrone In [jet](https://github.com/borkdude/jet/blob/c42c886b9f301d9e7ce66f668d7e54351f0a7f64/src/jet/formats.clj#L18) I managed to do it this way: ``` (ns jet.formats {:no-doc true} (:require [cheshire.core :as cheshire] [cheshire.factory :as factory] [cheshire.parse :as cheshire-parse] ...) (:import [com.fasterxml.jackson.core JsonFactory] [java.io...
@nilern Luckily when reading from stdin it works like intended. You can read one JSON object when feeding one object to stdin, and then wait, then feed the next one...