Warning: Attempt to read property "comment_date" on null in /var/www/wptbox/wp-includes/comment-template.php on line 1043
Warning: Attempt to read property "comment_date" on null in /var/www/wptbox/wp-includes/comment-template.php on line 1043
Warning: Attempt to read property "comment_date" on null in /var/www/wptbox/wp-includes/comment-template.php on line 1043
>Simple, bloat-free syntax
>Language features (e.g. higher-order functions, pattern matching) correspond to the most natural way to think about programs
>The community acknowledges flaws and missing features in the language and offers "extensions" to fix them
>Doesn't concern itself with bullshit like "value vs reference" and "order of evaluation"
>Polymorphism done in a sensible way (typeclasses) rather than OOP autism
>Error handling is simple and logical (Maybe / Either / MonadError)
>Expressive type system lets you infer a lot about a function's behavior by looking at its type. You can even try to find functions using their type signature with hoogle
>Packages tend to be written by sane, intelligent people
>haskell
>Simple, bloat-free syntax
lol. lmao even
skip the type brain damage.
learn common lisp
>Types
>Bad
Kill urself, nigga.
types aren't bad tbh
being autistic about them is
Types are fine, as values of variables
>Types
>Bad
Save someone else, Aryan!
>higher-order functions
what the fuck is a "higher-order function" and why do you need it
>What
It's just the ability to compose functions and return functions from other functions
>Why
Because it's pretty useful, and removes some OOP BS.
typedef std::function<void()> voidFunc;
typedef std::function<voidFunc> order1Func;
....
typedef std::functionOrder(n-1)Func orderNFunc;
std::function<orderNFunc> haskellIsFornaggers(){
....
return [....]
}
Why is there a need for haskell? Using basic C++ is already way more versatile. Just add templates and you'll fuck way more bitches
I want to write programs that don’t segfault
You are brainwashed.
Functional programming can be a bit hard, at least it requires thinkinkg a bit. I takes less thinking to make sure you don't do stupid stuff with pointers.
Memory allocation is not that hard.
>Functional programming can be a bit hard, at least it requires thinkinkg a bit. I takes less thinking to make sure you don't do stupid stuff with pointers.
sir what you are suffering from is called baby duck syndrome. it's ok though, it's curable
fancy function pointers
>Simple, bloat-free syntax
thats what happens when you apply some logic and rules in language design you get haskel ,lisp, forth instead of c and c like abominations. But you are right c gives edge to autists . Having shity incoherent syintax filters anyone who isnt an autist with no life .
Point is mathematicians should design programing languages not autists , codemonkeys or coorporate poeple
or you get make scheme more c like JavaScript retardation.
2/10 bait
go up
>Packages tend to be written by sane, intelligent people
True. I can read standard libs code, though I only started with the language.
That’s not the case for any other language.
Haskell is terrible, learn Erlang instead.
>dynamic typing
, bloat-free syntax
Of all the good things you can say about Haskell, this absolutely isn't one of them.
>logo looks like
wtf I love amtrak now
>least autistic
very debatable, especially considering how some of its users develop this odd superiority complex where they LARP as amateur mathematicians
Actually the least autistic Programming Language is Cobol and it isn’t even close.
COBOL was written to be English like for normies and it’s verbosity is supposed to make it “self documenting”.
It has 600 reserved words and most of them do not have a shorthand.
Cobol has been optimised to do very simple but precise maths in extremely high quantities. In other words the kind of maths that businesses and banks need to do. Deducting a transaction from a bank balance is simple. Deducting a million transactions from a million balances is much more tricky. COBOL can do that with ease. It’s not great for high level maths and scientific applications.
Cobol is the most non autistic programming language there is
Might I add that the enterprise boomers who are in charge of Cobol systems are the first filter for autists because their philosophy is “it doesn’t matter how shit the code is, as long as it works” which I can imagine would be very difficult for an autist to deal with. But the nature of enterprise is to blame. If the legacy systems go down for 10 minutes it’s pandemonium, if they go down for an hour it’s lawsuits. If they go down for a day it’s anarchy. That’s why the claims that Cobol is dead are really missing the point.
Granted, we will sooner or later live to regret how poorly maintained the legacy cobol codes are when they pack up for whatever reason.
>normies
Fuck off, newfag.
't concern itself with bullshit like "value vs reference" and "order of evaluation"
You need to consider the order of evaluation (normal forms) when doing parallelism / concurrency
a schizo made this thread, kys if you have to to go through this retardedness.