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?
-
-
Replying to @edelaney05
@edelaney05 I assume this is mostly tongue-in-cheek, and you understand currying and partial application. http://www.uncarved.com/blog/not_currying.mrk …1 reply 0 retweets 0 likes -
-
Replying to @edelaney05
@edelaney05 FP is great because it upsets sclerotic thinking. Understanding the “why” and not merely the “what” pays enormous dividends.2 replies 0 retweets 2 likes -
Replying to @warrenm
.
@edelaney05 Unrelatedly, the greatest sclerosis of the object-oriented mind is a blindness to the pathologies of statefulness.1 reply 0 retweets 3 likes
Replying to @edelaney05
@edelaney05 It’s undesirable to slavishly avoid state. The problem is underestimating the combinatorial explosion of possible interactions.
3:08 PM - 13 Mar 2015
0 replies
0 retweets
0 likes
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.