|
|
|
|
|
by delluminatus
4044 days ago
|
|
I actually have a tip for async programming on small projects. Consider storing as much of your state as possible in a central location if it's feasible for your application. As much as possible, avoid relying on closures except for data hiding. This makes it easier to think about what is going on in your application even if the code flow is not exactly linear. For example use a global object called State that contains information about the list of build tasks to be run and the state of each of the stages for the tasks. |
|