You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Back in the day my argument in favor of this was one of readability. Whenever I had to reference the ns form that job was made quicker by this grouping.
My arguments for changing it now are the following:
It reduces greppability because you can't easily find out where a namespace is in use by searching for its name.
cljs is now a thing and it doesn't support prefix notation at all, so we don't use it anyway in cljs files or in cljc files.
The text was updated successfully, but these errors were encountered:
This is in line with @stuartsierra's How to ns. It would be great if clj-refactor.el would support the format proposed in the article. At this time, I run the how-to-ns lein plugin after using clj-refactor.
dotemacs
added a commit
to dotemacs/clj-refactor.el
that referenced
this issue
Apr 28, 2017
* Change prefix-notation to false
The reasoning is captured in the issue:
#363
tl;dr: it allows for quicker searching and clj(s|c) files don't support
it
* Updated the changelog
Updated it about the change to cljr-favor-prefix-notation default
behaviour.
The default is currently
t
.Back in the day my argument in favor of this was one of readability. Whenever I had to reference the ns form that job was made quicker by this grouping.
My arguments for changing it now are the following:
The text was updated successfully, but these errors were encountered: