[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
/fpg/: Functional Programming General
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 24
Thread images: 4
File: functional programming vs.png (2 MB, 1000x3000) Image search: [Google]
functional programming vs.png
2 MB, 1000x3000
"dang is asleep, post genuine observations" edition (https://archive.is/lfRzE)

Last thread: >>53859639

Resources:

- https://storify.com/realtalktech
- https://twitter.com/realtalkintech

Latest articles:

- https://storify.com/realtalktech/how-to-be-a-good-haskell-programmer
- https://storify.com/realtalktech/taking-down-haskell
- https://storify.com/realtalktech/haskell-has-no-benefits-is-good-for-nothing
- https://storify.com/realtalktech/why-functional-programming-sucks

IRC: #/g/fpg on Rizon
>>
File: FizzBuzz.png (13 KB, 578x461) Image search: [Google]
FizzBuzz.png
13 KB, 578x461
Hasklel/NoCaml/FOff btfo
>>
Worst thread on /g/
>>
>>53885675
Kill yourself OP
>>
>>53885675
Tell me, in 150 characters, why should I learn Haskell.
>>
>>53885969
1) you are an academic
2) you want to write a blog on it
3) you want to learn first hand why no one uses it
4) You want to make sure no one ever runs the programs you write in it
>>
>>53886008
Guess that sums up.
>>
>>53885969
It will introduce to you the benefit of extremely refined types for reasoning and safety. You'll also see some useful abstractions that make the most sense when you can have strong reasoning like that.
>>
>>53885969
Haskell is good to learn if you want to know how not to make a programming language.
>>
What's the difference between "functional programming" and using pure and/or higher order functions in regular languages?
>>
>>53886132
One is a meme and the other is not. Can you guess which?
>>
>>53886132
Higher-order functions and "pure" function annotations were already in use before the idea of "functional programming" was considered something separate from "programming." They were all just parts of a programming language.

"Functional programming" is based on the idea that those are the only good parts of a programming language and everything else is to be avoided.
>>
File: haskell-ready-for-industry.png (1022 KB, 1000x3000) Image search: [Google]
haskell-ready-for-industry.png
1022 KB, 1000x3000
>>53885969

r8myb8m8 1outof8
>>
>>53886132
There's kind of two different ways to interpret the term.

"Functional programming" as the converse of "imperative programming" means using functions without side effects (i.e. the type determines the possible effects). There are few languages that go this far.

"Functional programming" compared to "object oriented programming" is the practice of using first-class and higher-order functions. Most languages support it in this manner. This is the FP that is equivalent to OOP in pure expressive power - each may be implemented using the other.
>>
>>53885969
Learn Haskell for the excitement of figuring out how to use completely undocumented libraries.

Do you know there's over 10000 packages on Hackage? Too bad all but probably three or so are completely dogshit.
>>
>>53886485
born to late to explore the Earth
too soon to explore Space
just in time to explore undocumented Haskell libraries
>>
>>53886485
its 2015, stop using hackage and start using Stack.
>>
>>53886523
Topkek
>>
>>53885969
So you can tell people you know Haskell
>>
would it be a bad idea to learn a functional language as a first language?
asking for a friend haha
>>
>>53888968
no. Berkeley teaches LISP as a first language, for example.
>>
>>53888726
Does using Stack instead of Hackage fix the problems I was talking about?
>>
File: haskell-ready-for-industry2.png (1 MB, 1000x3420) Image search: [Google]
haskell-ready-for-industry2.png
1 MB, 1000x3420
>>
F# seems like my jam, anyone used it before ? If yes could you share your experiences with it.
Thread replies: 24
Thread images: 4

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

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.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.