func add(a:Int)->Int->Int A function that takes a Int and returns a function that takes an Int and returns an Int. Did I just have a stroke?
-
-
@warrenm Have you read the Swift FP book? Will I get the “why?” Where else can I look for the why? I like I’m missing key resources. -
@edelaney05 Yeah, I found it pretty gentle. I hesitate to recommend SICP, but it’s worth the study if you have the time for it.
End of conversation
New conversation -
-
-
.
@edelaney05 Unrelatedly, the greatest sclerosis of the object-oriented mind is a blindness to the pathologies of statefulness. -
@warrenm wha? It feels like 99% of the bugs I fight in OOP are state related. Seems like statefulness is unavoidable -more about mitigation? -
@edelaney05 It’s undesirable to slavishly avoid state. The problem is underestimating the combinatorial explosion of possible interactions.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.