Fork me on GitHub
#clojurescript
<
2022-05-31
>
Ivan Fedorov11:05:36

Any pros to use :refer over :as to use members of standard clojurescript namespaces?

p-himik12:05:15

Less typing for the most frequently used symbols. Although I myself almost never use :refer.

👍 3
cjohansen12:05:13

I much prefer :as for readability/tracability

4
Ivan Fedorov13:06:39

@U2FRKM4TW @U9MKYDN4Q thanks! are they the same in regards to code optimization?

p-himik17:06:21

Shouldn't be a difference - it all becomes just a Var in the end.

❤️ 1