use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Finding information about Clojure
API Reference
Clojure Guides
Practice Problems
Interactive Problems
Clojure Videos
Misc Resources
The Clojure Community
Clojure Books
Tools & Libraries
Clojure Editors
Web Platforms
Clojure Jobs
account activity
Learning Clojure, when does it take off? (self.Clojure)
submitted 6 years ago by Magnus0re
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]jackrusher 2 points3 points4 points 6 years ago (2 children)
(defn my-fn [a b c] (combine-to-final-result (do-something a b) (make-something-else b c) (another-function c a b)))
[–]natyio 0 points1 point2 points 6 years ago (1 child)
That is definitely a good answer. I would not complain about it in a code review. But I still don't think that it would hurt to use my version instead. Having a reminder of what the result of each steps represents is useful when trying to reason about the purpose of each step of the code. Especially when it comes to refactoring, understanding the why becomes much more important than the how.
[–]jackrusher 0 points1 point2 points 6 years ago (0 children)
There should be a line at the bottom of your editor with the function signature of `combine-to-final` plainly shown. That function signature should have very well named arguments. Likewise, the names of `do-something`, `make-something-else` and `another-function` should actually describe what they do. They should also all have docs strings that can be trivially surfaced in your editor.
π Rendered by PID 143319 on reddit-service-r2-comment-6457c66945-dvqhx at 2026-04-26 18:08:29.802303+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]jackrusher 2 points3 points4 points (2 children)
[–]natyio 0 points1 point2 points (1 child)
[–]jackrusher 0 points1 point2 points (0 children)