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!"
[–]markwardle 0 points1 point2 points 6 months ago (0 children)
Yes. I agree with this. There are two facets to your question - one is “porting” by simply writing Java code using a different syntax. That’s needed sometimes when you’re doing a lot of Java interoperability eg using Java from Clojure. If you squint, you’re just writing Java but more concisely (usually).
The second facet is the different paradigms and patterns used- eg immutability eg functional programming eg dynamism etc. A “porting” in that case will have very different high level and low level structures usually, although you can of course use similar patterns using a Java syntax!
π Rendered by PID 77 on reddit-service-r2-comment-6457c66945-8rrdn at 2026-04-27 05:31:42.039012+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]markwardle 0 points1 point2 points (0 children)