4 ms·
Yeah, something I've seen become common in the Clojure ecosystem is for files to have a `(comment ...)` form at the bottom where forms which are commonly needed
by lgessler 6y ago
Yeah, something I've seen become common in the Clojure ecosystem is for files to have a `(comment ...)` form at the bottom where forms which are commonly needed at the REPL when working with the file (e.g. to initialize some data or a database connection) are kept around. Editors like IntelliJ with Cursive have commands like "evaluate sexp before cursor" which lets you easy use them, and since they're all commented out they don't effect the normal execution of the code.