Skip to content

Instantly share code, notes, and snippets.

View adityaathalye's full-sized avatar

Aditya Athalye adityaathalye

View GitHub Profile
@adityaathalye
adityaathalye / systom.clj
Created August 27, 2024 14:52
Why do we need a whole library to start/stop our Clojure web app "system" (libraries like integrant / component / mount)?
(ns cats.core
(:gen-class)
(:require [cats.config :as cc]
cats.server))
;; Quick spike to make a "system" tool, to better understand
;; the core ideas, and the little gotchas of the whole business
;; of safely starting/stopping a service. It's better to use
;; one of the community-built libraries for this.
;;