Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 3 days agoLearning Functional Programmingfeddit.ukexternal-linkmessage-square20fedilinkarrow-up10arrow-down10cross-posted to: [email protected]
arrow-up10arrow-down1external-linkLearning Functional Programmingfeddit.ukDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 3 days agomessage-square20fedilinkcross-posted to: [email protected]
minus-squareImplyingImplications@lemmy.calinkfedilinkarrow-up0·3 days agoIn functional programming, everything is an expression (of frustration).
minus-square☆ Yσɠƚԋσʂ ☆@lemmy.mllinkfedilinkarrow-up0·3 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·1 day agoIn imperative style, everything is an instruction (to suffer)
minus-squaretetris11@lemmy.mllinkfedilinkarrow-up0·edit-22 days 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(🤬🤬))