[ 3 / biz / cgl / ck / diy / fa / g / ic / jp / lit / sci / tg / vr ] [ index / top / reports / report a bug ] [ 4plebs / archived.moe / rbt ]

Support us on Patreon!

/g/ - Technology

View post   

[ Toggle deleted replies ]
File: 41 KB, 623x399, functional.png [View same] [iqdb] [saucenao] [google] [report]
71355304 No.71355304 [Reply] [Original] [archived.moe] [rbt]

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.

>> No.71355313

Everything is a function.
All data is immutable.

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

>> No.71355366


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.

>> No.71355387

Stop wasting your time on this crap and just go back to programming

>> No.71355400

>Functional programming is elite way of programming
said no paid programmer, ever

>> No.71355510

I have studies monads. They dont tell me conceptualize computer code where my intuition seem to require state to perform on these objects.

>> No.71355523

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

>> No.71355564

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.

>> No.71355617

Proof base course,Type theory, linear algebra and algebra.

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

First three books

category theory steve awodey

Lineal algebra
linear algebra hoffman and kunze
Algebra Michael artin.

>> No.71356149

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.

>> No.71356186

youre doing it wrong!

>> No.71356213


GHC has been written in itself


>> No.71356392

Not possible.

>> No.71356502


look at the sources lol

>> No.71357617

Read Algebra of programing.

>> No.71358198

Learn prolog instead

>> No.71358209

>everything is a function

>> No.71358212

>Now go and overflow the stack.
but nearly all FP langs have tail recursion

>> No.71358412
File: 2.59 MB, 320x240, hackerman.gif [View same] [iqdb] [saucenao] [google] [report]

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)

>> No.71358487


Thank you based Anon

>> No.71358500


Lambda calculus, motherfucker, do you speak it?

Name (leave empty)
Comment (leave empty)
Password [?]Password used for file deletion.