Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 2 days agoLearning Functional Programmingfeddit.ukimagemessage-square22fedilinkarrow-up1261arrow-down111
arrow-up1250arrow-down1imageLearning Functional Programmingfeddit.ukDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 2 days agomessage-square22fedilink
minus-squareImplyingImplications@lemmy.calinkfedilinkarrow-up53arrow-down4·2 days agoIn functional programming, everything is an expression (of frustration).
minus-squaretetris11@lemmy.mllinkfedilinkarrow-up5·edit-21 day agoY😄 = (λf.(λ🤬.f(🤬🤬))(λ🤬.f(🤬🤬)))😄 = (λ🤬.😄(🤬🤬))(λ🤬.😄(🤬🤬)) = 😄((λ🤬.😄(🤬🤬))(λ🤬.😄(🤬🤬))) = 😄(Y😄)
minus-square☆ Yσɠƚԋσʂ ☆@lemmy.mlcakelinkfedilinkarrow-up6arrow-down1·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-up2·13 hours agoIn imperative style, everything is an instruction (to suffer)
In functional programming, everything is an expression (of frustration).
Y=λf.(λ🤬.f(🤬🤬))(λ🤬.f(🤬🤬))
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)
😆