Skip to content

Use list continuations to fix ordered list numbers #256

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Mar 6, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -860,27 +860,27 @@ But what to do about all the other namespaces out there that don't have idiomati
otherwise the people working on a shared Clojure codebase are going to experience a great deal of confusion. Here are a few rules that you should follow.footnote:[These guidelines are based on a https://stuartsierra.com/2015/05/10/clojure-namespace-aliases[blog post] by Stuart Sierra.]

1. Make the alias the same as the namespace name with the leading parts removed.

+
[source,clojure]
----
(ns com.example.application
(:require
[clojure.java.io :as io]
[clojure.reflect :as reflect]))
----

+
2. Keep enough trailing parts to make each alias unique.

+
[source,clojure]
----
[clojure.data.xml :as data.xml]
[clojure.xml :as xml]
----

+
TIP: Yes, namespace aliases can have dots in them. Make good use of them.

+
3. Eliminate redundant words such as "core" and "clj" in aliases.

+
[source,clojure]
----
[clj-time.core :as time]
Expand Down