cockroachdb / cockroachdb/community-tooling-samples

Update Clojure example to be more idiomatic

Open
#3 1 comment 0 reactions 1 assignee Claimed by @ericharmeling View on GitHub
C-doc-improvement P-3
Dominant language
Clojure
Stars
1
Forks
1
PR merge metrics
No merged PRs in 30d

Description

Richard Loveland (rmloveland) commented:

Just ran through the examples as part of reviewing cockroachdb/docs#5028.

We should consider making the instructions a bit more idiomatic for Clojure users by:

- Generating the project with `lein new`, which will use standard Clojure project layouts/filenames (currently we are not, as well as overwriting `test.clj` twice, which is odd)

- The above may necessitate updating the `project.clj` and the code samples just a bit so they build with `lein run` in the new layout

- Updating sample code to follow Lisp style (no dangling parens, etc.)

Jira Issue: DOC-289

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.