@KenScambler Wow, really on a an anti-mock crusade at the moment. :) Don't suppose you have another blog in the works (for a friend)?
-
-
Replying to @charlesofarrell
@charlesofarrell@KenScambler it's all about side-effects isn't it? When you need mocks it's likely because you have side-effects3 replies 0 retweets 1 like -
Replying to @etorreborre
@etorreborre@charlesofarrell Yes, pretty much. Also this OO-modelling mindset of "collaborators" which is irrelevant for pure functions.2 replies 0 retweets 1 like -
Replying to @KenScambler
@KenScambler@charlesofarrell collaborators happen as well in FP with functions as arguments but I've not seen them over abused1 reply 0 retweets 0 likes -
Replying to @etorreborre
@etorreborre@charlesofarrell Sure. But you can test them by passing in real functions, and not a web of lies and magic.2 replies 1 retweet 1 like -
Replying to @KenScambler
@KenScambler exactly, no need for mocks#deathtomocks3 replies 0 retweets 1 like -
Replying to @etorreborre1 reply 0 retweets 1 like
-
Replying to @charlesofarrell
@charlesofarrell@etorreborre@KenScambler I'm testing code that interacts with third-party stateful systems - you wouldn't mock those?4 replies 0 retweets 0 likes -
Replying to @chris__martin
@chris__martin@charlesofarrell@etorreborre@KenScambler Why are you testing that code before you are fixing it? Death to false economies.1 reply 0 retweets 0 likes -
Replying to @dibblego
@dibblego@charlesofarrell@etorreborre@KenScambler how do I know whether it needs to be fixed before I test it?1 reply 0 retweets 0 likes
@chris__martin @charlesofarrell @etorreborre @KenScambler because you were compelled to use mocks :) We could work through it on IRC.
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.