These are chat archives for jdubray/sam

31st
Oct 2016
Fred Daoud
@foxdonut
Oct 31 2016 16:17
I experimented with Tasks. I did not find that there were benefits to justify the overhead. For chaining, I found that just using something like data.Maybe worked well. For testing, I think that you can achieve a nicely testable system without the overhead of Tasks, by having abstractions in the right places. You can use services, with the real implementation in the production code, and a test double for tests. After all, you want to e.g. test the intention of making an Ajax request, not the Ajax request itself (else that is integration testing.)
Fred Daoud
@foxdonut
Oct 31 2016 22:17
@metapgmr_twitter I am trying to understand action hang back in SAFE, but, what would be an example of a use case for it? I did see the example of the "slow" action, but the "slow" part is making the proposal itself. What if the "slow" part is, instead, getting a response from the server?
Also in SAFE you have node-uuid but it doesn't look like it is used... or did I miss something?