I have a hunch (as oppose to IME as I don't have any yet :)) that
Clojure doesn't require as much due to at least the following points:

 - there is much less incidental complexity and ceremony required to
manage (and therefore refactor)
  - implementations in Clojure require more thought and are much more
focused on one thing then in Java, therefore there is a much higher
chance that you get it right the first time

To put it another way, how much refactoring we we do in Java is down
to managing the complexity of the problems inherent in Java the
language; complecting state and identity for example.

A concrete example: I know I often refactor code out of one class into
a utility once that becomes useful by other classes.  The reason I
need to do this is because in java the functionality is ring fenced by
the data that it works on (I.e. encapsulation in the container called
a class).  In clojure that association can be made but right off the
get-go data and functionality are separate.

Just my two-pence worth and I still haven't written more than 2 lines
of clojure so it probably isn't worth 2p :)

Sent from my iPad

On 5 Nov 2011, at 12:16, Dennis Haupt <d.haup...@googlemail.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> hi,
>
> i'm half done with my asteroids clone. i stumbled over a few problems
> and wanted to know how others already solved them :)
>
> i am used to "less concrete programming". i ask my tools to do the
> actual analysis and coding for me:
> * where is that used?
> * rename that
> * show me all errors
> * add a parameter here
> * autocomplete this for me, i am too lazy to even remember the exact
> method name
> * show me a list of all methods and fields starting with an "e" that
> fit in here. i know the one i want is in that list.
>
> as elegant as clojure may be as a language, it's dragging me down to
> almost native text editing which i did more than 10 years ago when i
> wrote a game in turbo pascal.
>
> how did you solve these problem and get some tool-support? or don't
> you miss it because of something i am not aware of?
>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.14 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iQIcBAEBAgAGBQJOtSkdAAoJENRtux+h35aGeeQP+gJbQdNSZEdEIgjVFC/VZvRe
> z1Rh9Z8xVwxbuyl/kx1GMLU3jZxJKkhp0OIp7RLbDgjwFFzwBnQ0CZSeuHd9bFD/
> S5Vmf6tXB4AdC3u3a7wZilEQuSuq+ARtJhMKdGIQfoXgqDYA7JwOvV8ZkpiR2T2d
> pKqswheRVstBqo9/xyinfuLsJMujDlF9NshoIC0n1b/L4tzddq/kgzIATcg/NJ4N
> I0Qd1lqGC1THU2nHtiaSR66KQE5Ciq22FN0nVoT3jW9EU/kJ9tao7L6SUTY3tcaA
> th8mxKLYId/NrbRmsYUTyWe6O30HAUTLLFEnImYTW2fUMdwRYeAoZGc7t5V3yJ/p
> dU4JN0dGA/ADbdTItykaao1DtGI2/kGe6p9VaKk3IPCVAOio9UwgOCUQylTKqy7M
> CWbrDcSFCQs5pTY1Sw5We9LV2VOBoTsai6vH/qE7t98mJLVf0wHvLLIBOkf/QO5a
> HuSyCJRpOrWQF2jbooDqAbaJAa6huxLQjMeO9Ri4sDx2gDRYsf9Fmdjp4TFWWjdZ
> O5HEzhUR165peQHo4RQLLf8dnlkibsdbx60n+VJ0E4iE7ID+hBOFC76bAllnAS1K
> Q8HqXUogMi/ZLXIAB4BA83q71IEDVcytuYAn9Ku2FQLrmWCiOD57uMhSLjtzK/8J
> TIuaLwipARdzsqi/piwl
> =MnRq
> -----END PGP SIGNATURE-----
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with your 
> first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to