beginners 2026-10-20

Why do unqualified "." forms expand to the dot operator at macroexpansion time? what's the benefit?

Alex Miller (Clojure team) 2026-10-20T13:32:45.433419Z

. is the special form at the bottom

right, i'm just wondering why it doesn't go directly to the method or access, like with method values

Alex Miller (Clojure team) 2026-10-20T14:04:22.372599Z

method values are the exceptional case here and some early versions of it did go to . but .... it's complicated

Alex Miller (Clojure team) 2026-10-20T14:05:39.977939Z

we know things at different points of the analyzer and compiler and it ended up being easier to go directly in some of the qualified cases.

👍 1