Destide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 2 days agoLearning Functional Programmingfeddit.ukimagemessage-square21fedilinkarrow-up1246arrow-down111cross-posted to: programmerhumor@lemmy.ml
arrow-up1235arrow-down1imageLearning Functional Programmingfeddit.ukDestide@feddit.uk to Programmer Humor@lemmy.mlEnglish · 2 days agomessage-square21fedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squareImplyingImplications@lemmy.calinkfedilinkarrow-up49arrow-down3·2 days agoIn functional programming, everything is an expression (of frustration).
minus-squaretetris11@lemmy.mllinkfedilinkarrow-up4·edit-222 hours 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-up1·6 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)