Live data from Hacker News

Clojure will affect the way you think about programming

eli.thegreenplace.net

1–10 of 226 posts

Re: Clojure will affect the way you think about programming

#2
I have switched between many programming languages, and if you are considering Clojure I would highly recommend it. It is immutable first, which helps eliminate many classes of explicit bugs and non-obvious anti-patterns. It also works across Java / Javascript allowing for a common code base of business logic across all layers, and with React Native looks and performs well on iOS and Android.

Re: Clojure will affect the way you think about programming

#4
I just saw an article recently about core.async and the "go" macro, which seems to effectively give you goroutines in Clojure. I'd be very tempted to use it for that reason alone. I love Go's concurrency, but it can be a little on the verbose side. Good for some projects, but not all of them.

Re: Clojure will affect the way you think about programming

#5
post #2

I have switched between many programming languages, and if you are considering Clojure I would highly recommend it. It is immutable first, which helps eliminate many classes of explicit bugs and non-obvious anti-patterns. It also works across Java / Javascript allowing for a common code base of business logic across all layers, and with React Native looks and performs well on iOS and Android.

When you say it works across Java/JavaScript - could you expand? Can I essentially write Clojure that compiles to JavaScript?

Re: Clojure will affect the way you think about programming

#6
post #5
post #2

I have switched between many programming languages, and if you are considering Clojure I would highly recommend it. It is immutable first, which helps eliminate many classes of explicit bugs and non-obvious anti-patterns. It also works across Java / Javascript allowing for a common code base of business logic across all layers, and with React Native looks and performs well on iOS and Android.

When you say it works across Java/JavaScript - could you expand? Can I essentially write Clojure that compiles to JavaScript?

https://clojurescript.org/

Re: Clojure will affect the way you think about programming

#7
post #5
post #2

I have switched between many programming languages, and if you are considering Clojure I would highly recommend it. It is immutable first, which helps eliminate many classes of explicit bugs and non-obvious anti-patterns. It also works across Java / Javascript allowing for a common code base of business logic across all layers, and with React Native looks and performs well on iOS and Android.

When you say it works across Java/JavaScript - could you expand? Can I essentially write Clojure that compiles to JavaScript?

Yes, that's ClojureScript.

Re: Clojure will affect the way you think about programming

#8
post #5
post #2

I have switched between many programming languages, and if you are considering Clojure I would highly recommend it. It is immutable first, which helps eliminate many classes of explicit bugs and non-obvious anti-patterns. It also works across Java / Javascript allowing for a common code base of business logic across all layers, and with React Native looks and performs well on iOS and Android.

When you say it works across Java/JavaScript - could you expand? Can I essentially write Clojure that compiles to JavaScript?

Short answer - yes. https://clojurescript.org/

Re: Clojure will affect the way you think about programming

#9

The perfect language? I doubt that. It's probably quite decent.

The perfect language to expand your brain. In a world dominated by java, php, c++,... In my opinion yes, Clojure could the perfect language to continue learning concepts, at same level would be Haskell.

Re: Clojure will affect the way you think about programming

#10
post #5
post #2

I have switched between many programming languages, and if you are considering Clojure I would highly recommend it. It is immutable first, which helps eliminate many classes of explicit bugs and non-obvious anti-patterns. It also works across Java / Javascript allowing for a common code base of business logic across all layers, and with React Native looks and performs well on iOS and Android.

When you say it works across Java/JavaScript - could you expand? Can I essentially write Clojure that compiles to JavaScript?

[deleted]
Post reply on HN