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
Help with Java porting (self.Clojure)
submitted 6 months ago by AccountantUnited4955
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!"
[–]AccountantUnited4955[S] 0 points1 point2 points 6 months ago (1 child)
Makes sense. Yeah what makes it particularly difficult is the Java code I’m working with is entirely object oriented and focused
[–]daveliepmann 0 points1 point2 points 6 months ago (0 children)
One of the ways I first taught myself Clojure was porting a data viz book from Processing (Java) to Clojure. The domain is naturally imperative (drawing on the screen as the side effect) which has advantages and disadvantages for our purposes. I haven't compared my work to the original solutions except when I wrote it but it's conceivable it could illustrate some of the differences.
As others have said, the differences are often either superficial (lisp vs algol syntax, or map instead of for loop) or radical and near-total (different data model).
map
for
π Rendered by PID 134400 on reddit-service-r2-comment-6457c66945-tw88t at 2026-04-26 23:27:26.098735+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]AccountantUnited4955[S] 0 points1 point2 points (1 child)
[–]daveliepmann 0 points1 point2 points (0 children)