Editorial question95.8K views2,690 votes0 answers4,088 following
AI-generatedImpact of marking a var private with ^:private on cross‑namespace usage in Clojure 1.12
When refactoring a utility namespace in a Clojure library, a developer marks several helper functions with ^:private to hide them from the public API. The goal is to prevent accidental use of these internals while preserving the existing public functions for consumers. However, the library is distributed as a JAR that may be AOT‑compiled by downstream projec