July 2017
— Ugh
I hate the
if (a) { if (c) { ... } if (d) { ... }}if (b) { if (c) { ... } if (d) { ... }}
— So much repetition
— Yeah, me no likey!
— In your case c and d are conf.isFile and conf.async
— Yes
— Why not just have it always return a promise?
— That's an interesting idea, I guess
— What's the difference between insertionThunk and saveInsertionThunk ?
insertionThunk
saveInsertionThunk
— This
— Right
— But I removed it now