[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]

Why does everyone consider the best language that currently

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: 23
Thread images: 2

File: Haskell-logo.png (6KB, 200x150px) Image search: [Google]
Haskell-logo.png
6KB, 200x150px
Why does everyone consider the best language that currently exists a meme?
>>
>>59140600
Not used in production.

Language is irrelevant to big businesses, they care about results. Haskell is a poor engineering language, it was built by and for academics.
>>
>>59140600
It's made for and used by smartasses and other compsci PhDs.
>>
>>59140600

Nobody does

it's the child of academia and people use it as a topic to write published articles about basically
>>
>>59140600
It's just one of those things that don't match with humans in general. Same thing with any lisp, regardless of it lovely qualities. Probably good research ground though for techniques that C# and Java can steal.
>>
>functional
>good
>>
>>59144643
Yes, which is why OO languages are slowly adding more and more functional features.
>>
The fucking stink of you idiots who have never used Haskell is alarming
>>
>>59143502
Java steals from Common Lisp. C# pilfers from Delphi.

Both take implementation ideas from C++.
I can rewrite older CL program's I wrote years ago almost directly into Java as of today.

Some features are not available though. I can't extend null with methods for example.
Sad!
>>
>>59140600
type String = [Char]
>inb4 just use bytestring
I can't because even getArgs uses String
otherwise it's a truly wonderful language
>>
>>59140600
Because they love the OOP meme. Some businesses use it, but there are not enough hipsters in FP to make it the norm.
>>
>>59140600
Because it makes simple things difficult.
>>
>>59145958
how is that bad, all strings are char lists in modern languages
>>
>>59140600
Because people spend 30 minutes trying to learn it, and then give up because it's not a Fisher-Price language like JS, Python or Ruby.
>>
>>59146755
its not bad unless you need performance, but at that point you call out to rust
>>
>>59140600
>best
LOL it's been around for what, 25+ years and it still hasn't gained traction.
>>
>>59149223
neither has your mum, what's your point?
>>
>>59143502
>>59145953
Lisp was seen in industry though... then winter came.
>>
File: th_hasklel.jpg (79KB, 622x541px) Image search: [Google]
th_hasklel.jpg
79KB, 622x541px
>>59140921
>>59140927
>>59140983
/thread
>>
>>59149254
Now that's just wrong!
>>
>>59140600

Non strict semantics were a mistake.

Lack of proper parameterized modules too.
>>
>>59140600
I'm bad with high level math. Should i try haskell anyway?

>>59140921
>not programming for fun
>>
>>59140600
Rate my code
hailstones :: Int -> [Int]
hailstones n
| n < 1 = error "n must be >= 1"
| n == 1 = [1]
| even(n) = [n] ++ (hailstones (quot n 2))
| otherwise = [n] ++ (hailstones (n * 3 + 1))
[\code]
Thread posts: 23
Thread images: 2


[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.