Win a copy of Reactive Streams in Java: Concurrency with RxJava, Reactor, and Akka Streams this week in the Reactive Progamming forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

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

 
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • 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
  • 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: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you.
 
They weren't very bright, but they were very, very big. Ad contrast:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!