21 karma · joined Dec 26, 2025 (11mo ago) · 15 submissions
comment 4mo ago · link · parent
I haven't used it, so I don't know its tradeoffs; but its docs say its types exist at compile time: https://github.com/clojure/core.typed/wiki/User-Guide
comment 5mo ago · link · parent
For static (partial) typing, I instead use Malli schemas. I do this for every larger Clojure program I make, because there's always something that needs paranoia, or it's handy to generate example data.
comment 5mo ago · link · parent
What would you say is missing from Clojure for large-scale OOP design? As I understand, Clojure gives you OOP a la carte. Objects (via maps/records/structs), polymorphic dispatch (via multimethods/protocols/case), types (via Malli/TypedClojure), inheritance (via derived, isa?, etc), some encapsulation (via defn-/^:private)...
comment 5mo ago · link · parent
comment 5mo ago · link · parent
- Garbage collector, zoo keeper, lifeguard: As honest jobs, you can hopefully make a living doing these. To leverage these skills to become rich.. I don't know, but would imagine there might be some big lies along the way.
- Tennis player: How do they become rich, endorsements? Does associating yourself with a racket, shoe or energy drink count as telling truth or lying? Since ads aren't an analysis of the racket's technical properties, nor its contribution to your playing... I'd say it's lying.
comment 11mo ago · link · parent
And I'd promptly say: Ads are propaganda, and a security risk because it executes 3rd party code on your machine. All of us run adblockers.
There was no need for me to point out that ads are also their revenue generator. They just had a burning moral question before they proceeded to interop with the propaganda delivery system, I guess.
It would lead to unnecessary cognitive dissonance to convince myself of some dumb ideology to make me feel better about wasting so much of my one (1) known life, so I just take the hit and be honest about it. The moral question is what I do about it, if I intervene effectively to help dismantle such systems and replace them with something better.