Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Clojure

Name: Anonymous 2013-06-20 0:19

what is your opinion on clojure? worth learning? Or pile of shit

Name: Anonymous 2013-06-20 0:22

inb4 muh JVM muh no TCO muh muh trampoline

Name: Anonymous 2013-06-20 0:22

Worthless shit like any lithp.

Name: Anonymous 2013-06-20 0:24

>>2
I can't believe clojure not having TCO. That seems very unlikely.

Name: Anonymous 2013-06-20 0:29

>>4
it does have it

Name: Anonymous 2013-06-20 0:30

>>5
Only in a limited and half-assed way.

Name: Anonymous 2013-06-20 0:31

>>4-6
see >>2

Name: Anonymous 2013-06-20 0:43

>>7
But the JVM is fast

Name: Anonymous 2013-06-20 0:43

It's a lisp for JVM platforms. If you think that would be useful, learn it. Otherwise, don't.

Name: Anonymous 2013-06-20 0:47

>>9
So you have no opinion on it?

Name: Anonymous 2013-06-20 0:48

dubs

Name: Anonymous 2013-06-20 1:00

>>8
But the JVM is a goodbye to having any free memory.
Also, Clojure is not fast.

Name: Anonymous 2013-06-20 1:01

>>10
It is a very nice language, as long as you do not expect it to be something that it is not.

Name: Anonymous 2013-06-20 1:09

>>10
It is not a very nice language, unless you expect it to be something which it is.

Name: Anonymous 2013-06-20 1:17

>>14
You know what he meant your stupid little faggot. Go back to reddit.

Name: Anonymous 2013-06-20 1:26

>>15
>LELELELLLLL EGIN

Name: Anonymous 2013-06-20 2:51

>>15
No I don't, because he talks like a dumbass cunt that cannot express thoughts coherently.

Name: Anonymous 2013-06-20 4:42

Clojure
http://www.loper-os.org/?p=42
http://www.loper-os.org/?p=374

LISP AWESOME. C PASSABLE. EVERYTHING ELSE SHIT.

Name: Anonymous 2013-06-20 4:45

>>17
Clojure is a functional programming language based on s-expressions that works tightly with the JVM for integration with Java code.

With that in mind, the advantages and disadvantages are self-explanatory:

Advantages:
Ability to extend Java code with Clojure
Ability to extend Clojure code with Java
Functional programming paradigm

Disadvantages:
JVM start up time
JVM memory usage
JVM doesn't support TCO

Name: Anonymous 2013-06-20 4:47

>>19
You can't use FP paradigm without proper TCO.

Name: Anonymous 2013-06-20 4:53

>>19
A language cannot be functional without purity. A language cannot be good without a syntax. A language cannot be efficient if it runs only on JVM.
The only good thing in Clojure is its concurrency and parallelism primitives.

Name: Anonymous 2013-06-20 4:57

Name: Anonymous 2013-06-20 4:59

>>22
Full TCO in the latter case is not possible on the JVM at present whilst preserving Java calling conventions (i.e without interpreting or inserting a trampoline etc).
So Clojure doesn't have proper TCO. OK, it's not a real functional language then.

Name: Anonymous 2013-06-20 5:03

Name: Anonymous 2013-06-20 5:06

>>21
If you do not specifically want the JVM integration, I would not recommend Scala as a language for concurrency and parallelism.

Name: Anonymous 2013-06-20 5:13

I think TCO is misunderstood. It is not about iteration as there are other ways to implement it which are as functional albeit less cute, such as Clojure's recur special form. TCO really is about the freedom of jumping around functions without fear of stack overflows and it has applications from mutual recursion to finite-state machines including so-called “threaded” bytecode interpreters.

Don't change these.
Name: Email:
Entire Thread Thread List