[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Differences between Clojure & Haskell?

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 13
Thread images: 1

File: functional programmer.jpg (522KB, 1333x2000px) Image search: [Google]
functional programmer.jpg
522KB, 1333x2000px
What are the benefits of learning Clojure vs Haskell?

Which do you prefer? I'd personally lean towards Haskell, but I have a shot of getting hired at a company if I am willing to learn Clojure.

This throws a wrench in my plans of learning Haskell over the summer.

Want to hear your input /g/
>>
>>60607228
Haskell's only value is bragging on /g/ about MUH MONADS.
Clojure could potentially lend you a job.
Do the math.
>>
>>60607249

Excellent point anon, I'll stick with Clojure
>>
>>60607228
Haskell is a meme, Clojure isn't
>>
Why would you want to learn either?
>>
>>60607512
Why not? Serious question
>>
>>60607597

I don't see a point. What kind of software is easy to write in these functional languages?
>>
>>60607627
Good question. I'm just learning it mostly for academic interest. But partly for job (otherwise I'd go full blown Haskell). I think Clojure is good with concurrency. But that is second hand opinions I heard, I don't actually know: https://www.quora.com/Is-Clojure-better-at-concurrency-than-Scala
>>
>>60607357
>>60607271
>>60607249
Should I start with Scheme->Lisp and Clojure?
That way I could be more productive than anyone who just Clojure.
>>
>>60607924
There's simply no point in using clojure, period. It's a crippled lisp dialect on top of the jvm, and it's slow as shit. Use java or scala on top of the jvm, or use a scheme dialect outside the jvm.
>>
>>60607968
Chuck
>>
>>60607228
If you know that Clojure has a good chance of getting you a job at a company, then it is a good bet.

For learning FP, Haskell is better at forcing you to learn purity and abstractions. Clojure is better at making you learn to use functional data structures, which is much more important for learning to write fast functional code.
>>
>>60607228
Haskell is statically typed. Clojure is dynamically typed.
Haskell has a native compiler. Clojure runs on the JVM.
Haskell has ML-like syntax. Clojure has lisp-like syntax.

Both are ok languages. If Clojure can get you a job, start with that and you can learn some Haskell later if you want to.
Thread posts: 13
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.