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

2017/01/28: An issue regarding the front page of /jp/ has been fixed. Also, thanks to all who contacted us about sponsorship.

/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

>>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.

>> No.71355387

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

>> No.71355400

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

>> No.71355510

>>71355366
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

>>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

>> No.71355564

>>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.

>> No.71355617

>>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.

>> No.71356149

>>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.

>> No.71356186

>>71355510
youre doing it wrong!

>> No.71356213

>>71356149

GHC has been written in itself

kys

>> No.71356392

>>71356213
Not possible.
KYS.

>> No.71356502

>>71356392

look at the sources lol

>> No.71357617

>>71355304
Read Algebra of programing.

>> No.71358198

>>71355304
Learn prolog instead
/thread

>> No.71358209

>>71355313
>everything is a function
wut

>> No.71358212

>>71355313
>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]
71358412

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

>>71357617

Thank you based Anon

>> No.71358500

>>71358209

Lambda calculus, motherfucker, do you speak it?

>>
Name (leave empty)
Comment (leave empty)
Name
E-mail
Subject
Comment
Password [?]Password used for file deletion.
reCAPTCHA
Action