by xigoi · 6mo ago · 0 comments
At least for me,
thing
.doThis()
.thenDoThat()
.andFinallyThis()
is much more readable than andFinallyThis(
thenDoThat(
doThis(thing)
)
)``` thing.doThis() thing.thenDoThat() thing.andFinallyThis()
// or
doThis(thing) thenDoThat(thing) andFinallyThis(thing) ```