on('init', ...) is there to provide an easy way of initialising things. As you say, if you care about the order then you can just put all items in one function, in the correct order.
However if you've got multiple on('init', ...) then they'll be called in the order that they were added, which I think is reasonable.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I think it's good not to overcomplicate...
on('init', ...)
is there to provide an easy way of initialising things. As you say, if you care about the order then you can just put all items in one function, in the correct order.However if you've got multiple
on('init', ...)
then they'll be called in the order that they were added, which I think is reasonable.