• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Clojure in Action : Best way for Java developers to start coding in Clojure.

 
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Amit and Francis,

I have two questions.

1. What is the best way for Java developers to start coding in Clojure?
2. Do you see many newcomers to Clojure writing Clojure code 'the Java way'?

Does your book cover such topics?

Thank you.
Alex
 
Author
Posts: 4
5
IntelliJ IDE Clojure
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The book does not specifically address the problems of Java programmers starting to write Clojure, or even how to introduce Clojure into your Java shop. However, the book does two things which relate to your questions:

1. We go into details of Java-Clojure interop, so that a Java programmer knows how to import and use Java libraries or create classes, instances, proxies, etc from Clojure that he is already familiar with.

2. We talk a lot about how Clojure favors immutability, how this is different from other languages (Java included), and what that means when trying to write programs "the Clojure way."

I was not a Java programmer before I came to Clojure so I can't really say what I experienced unlearning Java; however immutability in particular really seems to trip most people up regardless of their previous programming experience. Some Clojure people I know with more Java experience tell me this article helped them to understand the difference a bit better and carry some Clojure lessons back to Java, too.
 
Alex Khvatov
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you.
 
To get a wish, you need a genie. To get a genie, you need a lamp. To get a lamp, you need a tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic