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


Thread archived.
You cannot reply anymore.



File: functional.png (41 KB, 623x399)
41 KB
41 KB PNG
Functional programming is elite way of programming what resources would you recommend to understand this programming idiom, to understand how to reduce the stateful nature of code.
>>
Everything is a function.
All data is immutable.

Congratulations, you have mastered functional programming. Now go and overflow the stack.
>>
>>71355304

Math, motherfucker, have you studied it?

Functional programming is the principles of mathematical proofs applied to (generalized for) arbitrary computations.

Haskell is an actual implementation of pure applied logic. It has literally nothing but strongly typed lambda expressions an a set of reduction rules under the hood.
>>
>>71355304
Stop wasting your time on this crap and just go back to programming
>>
>>71355304
>Functional programming is elite way of programming
said no paid programmer, ever
>>
>>71355366
I have studies monads. They dont tell me conceptualize computer code where my intuition seem to require state to perform on these objects.
>>
>>71355387
Why waste my time programming when down the line I will have to wrestle with monster of complexity, and will be debuging side effects into eternity
>>
>>71355304
How can you say FP is the 'elite way' when you don't even know it?
Anyway, just pirate the http://haskellbook.com/ and see if it clicks.
>>
>>71355304
Proof base course,Type theory, linear algebra and algebra.

Proofs and Fundamentals: A First Course in Abstract Mathematics Ethan D. Bloch

First three books
https://github.com/jozefg/learn-tt

category theory steve awodey

Lineal algebra
linear algebra hoffman and kunze
Algebra
Algebra Michael artin.
>>
>>71355523
Functional programmers don't have to debug/maintain code because they don't write any. Instead, they rather spend their time on online discussion boards talking about how great functional programming is.
>>
>>71355510
youre doing it wrong!
>>
>>71356149

GHC has been written in itself

kys
>>
>>71356213
Not possible.
KYS.
>>
>>71356392

look at the sources lol
>>
>>71355304
Read Algebra of programing.
>>
>>71355304
Learn prolog instead
/thread
>>
>>71355313
>everything is a function
wut
>>
>>71355313
>Now go and overflow the stack.
but nearly all FP langs have tail recursion
>>
File: hackerman.gif (2.59 MB, 320x240)
2.59 MB
2.59 MB GIF
Simple haskell code:
data T a = C (T a -> a)

foo :: T a -> a
foo (C f) = f (C f)

bar :: a
bar = foo (C foo)
>>
>>71357617

Thank you based Anon
>>
>>71358209

Lambda calculus, motherfucker, do you speak it?



Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

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.