Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 2 days agoLearning Functional Programmingfeddit.ukimagemessage-square19fedilinkarrow-up10arrow-down10cross-posted to: programmerhumor@lemmy.ml
arrow-up10arrow-down1imageLearning Functional Programmingfeddit.ukDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 2 days agomessage-square19fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareImplyingImplications@lemmy.calinkfedilinkarrow-up0·2 days agoIn functional programming, everything is an expression (of frustration).
minus-square☆ Yσɠƚԋσʂ ☆@lemmy.mlcakelinkfedilinkarrow-up0·2 days agoHaving worked for nearly two decades in a functional language now, that’s precisely how I feel about the imperative style.
minus-squareluciferofastora@lemmy.ziplinkfedilinkarrow-up0·7 hours agoIn imperative style, everything is an instruction (to suffer)
minus-squaretetris11@lemmy.mllinkfedilinkarrow-up0·edit-223 hours agoY😄 = (λf.(λ🤬.f(🤬🤬))(λ🤬.f(🤬🤬)))😄 = (λ🤬.😄(🤬🤬))(λ🤬.😄(🤬🤬)) = 😄((λ🤬.😄(🤬🤬))(λ🤬.😄(🤬🤬))) = 😄(Y😄)
In functional programming, everything is an expression (of frustration).
Having worked for nearly two decades in a functional language now, that’s precisely how I feel about the imperative style.
In imperative style, everything is an instruction (to suffer)
Y=λf.(λ🤬.f(🤬🤬))(λ🤬.f(🤬🤬))