Fork me on GitHub
#admin-announcements
<
2015-07-05
>
agile_geek07:07:14

@val_waeselynck I didn’t (and still don’t) find Clojure ‘natural’ but I have 19 years of OOP and 9 years of procedural programming to unlearn. My synapses are fixed to break problems down around those paradigms. So although it’s natural if you are starting from a ‘cleaner’ slate if you are aiming at converting OOP dev’s its not something they find natural at all. I have introduced Clojure to a group of hardened Java dev’s and they are intrigued, open minded but they find the FP paradigm and ‘alien’ syntax frustrating.

agile_geek07:07:02

@thomas if you are aiming at Java dev’s then for me the killer USPs are: concurrency built in, simplifies data handling (parsing, etc.) and Java interop. The funny thing about the last point is it’s a ‘crutch’ you want to get rid of after a few months. I found having Java to call on was something I thought I would use when I started but after a while it just annoyed me if I had to switch to directly calling Java as it felt unnatural in Clojure (not idiomatic) and I prefered Clojure libs that ‘wrapped’ Java to native interop calls.

agile_geek07:07:36

My current favourite sound-bite around FP generally that you could use is one lifted from a tweet by Michael Feathers "OO makes code understandable by encapsulating moving parts. FP makes code understandable by minimizing moving parts."

val_waeselynck07:07:38

@agile_geek Maybe also interactive development ?

agile_geek08:07:16

@val_waeselynck Interactive development is a plus point. The REPL is a revelation when you’ve not had this in Java/C# etc.

Alex Miller (Clojure team)13:07:43

@agile_geek: fyi, Java 9 is expected to include a Java repl

agile_geek14:07:07

@alexmiller yes I saw that. I've tried http://www.javarepl.com/ but I don't find a Java REPL as useful as you still have to write a lot of boiler plate. We shall see how well the import functionality works as I feel loading other classes and packages easily will be vital to its success.

Alex Miller (Clojure team)14:07:43

no disagreement from me :) I used to use beanshell (and groovy) for this in the past.

Alex Miller (Clojure team)14:07:03

now I just use Clojure of course :)

agile_geek14:07:24

I'm stuck with Java 1.5 in work so no REPL for me.

agile_geek14:07:01

yep. Apparently this is being ‘risk averse’ and ‘cautious’? #largecorporates