clojure-losangeles

2024-07-11T13:54:32.832299Z

Some discussion last night was around def and it's behavior despite being nested in other forms. From the special forms part of the https://clojure.org/reference/special_forms: > (def symbol doc-string? init?) > Creates and interns or locates a global var with the name of symbol and a namespace of the value of the current namespace (ns). > AFAIK, all of the other def* forms have the same global semantics because they're all just macros that include a def to bind something (a function, etc) to a symbol. So, interestingly, unlike other languages where "globals" are things defined at the top level, Clojure globals are defined with def always, regardless of where (how deeply nested in other forms) the def happens to be

👍 1
nate 2024-07-11T00:53:05.775719Z

Here's the link for tonight's meetup: https://us02web.zoom.us/j/86104524466?pwd=Rasg80Q8rGsOpagjf6uLodHnbuLhia.1

nate 2024-07-11T00:53:45.521939Z

Meeting ID: 861 0452 4466 Passcode: 286518