LogFAQs > #908581617

LurkerFAQs, Active DB, DB1, DB2, DB3, Database 4 ( 07.23.2018-12.31.2018 ), DB5, DB6, DB7, DB8, DB9, DB10, DB11, DB12, Clear
Topic List
Page List: 1
TopicI'm thinking of learning programming or whatever. Any recs?
Sahuagin
09/12/18 2:33:34 AM
#32:


Magus 10 posted...
You ever seen Haskell?

I have programmed in it a bit, but not tons, and that was a very long time ago. I know it's the ultimate functional language. I didn't really think of it before as having a complex type system, but you're right to point it out. I don't think it has as good IDE support as TypeScript, or as useful a platform, but you're right that it's probably a bit more complex of a type system than TypeScript.

It's a pure functional language, which is good in ways, but also very restrictive.

It has partial function application and currying.

If I recall, it has "higher order generics", whatever they're called. <looks it up>. yeah, called higher kinded types, or type constructors, or also functors, I think. that's a pretty rare feature.

It doesn't really have classes, so similar to JavaScript, to get encapsulation you have to use closures, and I'm not even really sure how closures work in Haskell.

I'd probably try it out if you could write actually useful programs with it (sorry, not trying to be elitist, correct me if I'm wrong). the notorious issue with pure functional languages is that they are pure, which means no side effects. they basically run like mathematical equations; single input, single output. they supposedly get around the I/O and UI problem with monads, but not terrifically. they're sort of more algorithmic (or well, functional in a mathematical sense, which is what they are). you'd more write a cryptography system in haskell than a desktop application.
---
... Copied to Clipboard!
Topic List
Page List: 1