This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-01-28
Channels
- # announcements (4)
- # aws (2)
- # babashka (56)
- # beginners (43)
- # calva (70)
- # clj-kondo (25)
- # cljs-dev (29)
- # clojure (103)
- # clojure-dev (9)
- # clojure-europe (55)
- # clojure-gamedev (8)
- # clojure-nl (5)
- # clojure-norway (5)
- # clojure-uk (4)
- # clojured (1)
- # clojurescript (56)
- # copenhagen-clojurians (1)
- # core-async (2)
- # cursive (16)
- # datomic (5)
- # deps-new (18)
- # emacs (9)
- # events (3)
- # fulcro (45)
- # graphql (2)
- # gratitude (2)
- # kaocha (6)
- # lambdaisland (8)
- # lsp (72)
- # meander (41)
- # missionary (5)
- # nextjournal (52)
- # off-topic (2)
- # pathom (12)
- # pedestal (2)
- # practicalli (1)
- # re-frame (6)
- # reitit (5)
- # releases (1)
- # reveal (1)
- # specter (3)
- # sql (4)
- # tools-deps (22)
- # vim (8)
- # wasm (1)
- # xtdb (22)
The word "process" implies side effects, right? The point of a process is to produce a series of side effects and then terminate with an exit code
Processes are long-running, sometimes running forever, so producing a value is absolutely not the purpose of a process
Cambridge dictionary says
a series of actions that you take in order to achieve a result
But the etymology is more subtle:
From Middle English proces, from Old French procés (“journey”), from Latin prōcessus, from prōcēdō.
pro (forward, action) + cedo :
- I go, move, proceed, go along, move along.
- I result, turn out, happen.
[...]
- I cede, give in or yield (to), step aside (for), give way (to)
- I become, turn into, be or become the equivalent of.
According to the etymology, no need to achieve a result, and no need to know all steps ahead of time. Only the next step is necessary. A process cease to be when there are no next step.
You don't run to go somewhere, you run for the act of running. Ending somewhere, while desirable, is optional.
A process is about doing. Duration, producing a value, reaching a goal, etc., are constraints of the environment.