Re: Trying to understand Java better to understand Clojure better

2013-03-14 Thread Marko Topolnik
I like the content of the article, but shouldn't you fix the formatting? Source code is badly mangled and some bulleted lists are flowed into a single paragraph. On Thursday, March 14, 2013 3:58:58 AM UTC+1, Daniel Higginbotham wrote: I've been feeling like my lack of Java knowledge has been

Re: Trying to understand Java better to understand Clojure better

2013-03-14 Thread Daniel Higginbotham
Thanks for the feedback, guys! It's good to know I'm on the right track. I've also cleaned up the formatting - thank you for pointing that out :) It seems like the clojure style guide goes some way toward showing how to wrap Java, though it doesn't really go into detail about handling all the

Re: Trying to understand Java better to understand Clojure better

2013-03-14 Thread Marko Topolnik
One point crosses my mind: JAR is a regular ZIP file. First time I learned that, I felt a great relief: it goes a long way towards demystifying the practical concerns of living with Java. On Thursday, March 14, 2013 1:03:17 PM UTC+1, Daniel Higginbotham wrote: Thanks for the feedback, guys!

Re: Trying to understand Java better to understand Clojure better

2013-03-14 Thread Daniel Higginbotham
Thanks! Updated! On Thursday, March 14, 2013 8:28:47 AM UTC-4, Marko Topolnik wrote: One point crosses my mind: JAR is a regular ZIP file. First time I learned that, I felt a great relief: it goes a long way towards demystifying the practical concerns of living with Java. On Thursday,

Re: Trying to understand Java better to understand Clojure better

2013-03-14 Thread Chris Ford
You could also consider visually breaking up Java code that is across multiple files. You've got // Contents of: comments, but a break in the grey background would also be helpful. Nice post. The world needs more people willing to explain basic concepts in a clear, un-patronising way. Cheers,

Re: Trying to understand Java better to understand Clojure better

2013-03-14 Thread Jeremy Heiler
On Thu, Mar 14, 2013 at 12:41 AM, Jason Lewis jasonlewi...@gmail.comwrote: What I'd love to see is a tutorial on abstracting Java classes and interfaces in pure Clojure, [...] Zach Tellman did a great talk about this called Distilling Java Libraries at Clojure/West 2012. Check it out!

Re: Trying to understand Java better to understand Clojure better

2013-03-14 Thread Daniel Higginbotham
This is exactly the kind of content I was looking for. Thank you! On Thursday, March 14, 2013 3:05:16 PM UTC-4, Jeremy Heiler wrote: On Thu, Mar 14, 2013 at 12:41 AM, Jason Lewis jasonl...@gmail.comjavascript: wrote: What I'd love to see is a tutorial on abstracting Java classes and

Re: Trying to understand Java better to understand Clojure better

2013-03-14 Thread Daniel Higginbotham
Thank you! I implemented your suggestion of breaking up the Java code. On Thursday, March 14, 2013 10:42:55 AM UTC-4, Chris Ford wrote: You could also consider visually breaking up Java code that is across multiple files. You've got // Contents of: comments, but a break in the grey

Trying to understand Java better to understand Clojure better

2013-03-13 Thread Daniel Higginbotham
I've been feeling like my lack of Java knowledge has been holding me back with Clojure, so I've started to learn it and have written an article on how you compile and run a Java program: http://www.flyingmachinestudios.com/programming/how-clojure-babies-are-made-the-java-cycle/ . Is the

Re: Trying to understand Java better to understand Clojure better

2013-03-13 Thread Jason Lewis
I actually really enjoyed the article... it wasn't much new for me in terms of Java, but I think one of the places we're lacking in documentation is help for Java n00bs trying to get a handle on JVM programming, especially since the idiomatic way of accessing Java from Clojure is directly.