logoalt Hacker News

cupofjoakimtoday at 2:21 PM1 replyview on HN

Well, nesting is not the only option.

``` thing.doThis() thing.thenDoThat() thing.andFinallyThis()

// or

doThis(thing) thenDoThat(thing) andFinallyThis(thing) ```


Replies

xigoitoday at 3:00 PM

That’s not equivalent.