Alex King (@superaking) header
Alex King (@superaking) profile picture

Software Engineer from Stoke-on-Trent, UK

Switzerland
Joined April 2018
re-frame is convenient but it's hard to write tests that are unaware of it if you follow the default examples, I find it useful to split some functions to keep re-frame usage contained: gist.github.com/alexanderjam…
1
2
Replying to @davefarley77
@richhickey Hammock Driven Development @richhickey Simple Made Easy @ICooper TDD Where did it all go wrong @swardley Crossing the River by Feeling the Stones
1
Replying to @jbrains
I agree we ought to clarify it, but it’s only helpful with a context. “Independently inspected” still depends on the level of detail you are looking at, define a level, and a meaning within a level, and then it becomes a useful term?
1
Replying to @jbrains
“Unit” depends on the context; one could argue a function / class / module / service is a unit depending on the level you are viewing from. Perhaps the terms used in atomic design are a better fit: Atoms, Molecules, Organisms “Isolated” is less ambiguous than “Unit” for tests.
1
3
Replying to @btvaaron
A `callback` can be sync or async, for the name of the concept I think it’s fine, there is always a better way to name it when implementing though, if it’s sync then name it by the functionality it provides, if it’s async then name it based on the situation in which it is called
He was one of our better midfielders last season before being harshly dropped for two bigger names who were both clearly unfit and out of form at the time. Good luck to him, I'm sure he will be one of the first names on the teamsheet at Wigan
6
Looks great, can you share the recipe?