I want to hear people’s thoughts on the viability of making packs full of utility functions. I’m working on one right now to hold some date manipulation features I’ve been wanting, but we could also rewrap every function in lodash
From what I can tell, putting these kinds of functions into a pack (rather than implementing them in formula language) essentially means making them asynchronous.
In other words, calculations take time. Would you like them to kind of lock up the table UI while “calculating” but ensure it’s always up to date (formulas), or let you keep using your UI even if it’s in an inconsistent or partially blank state while “syncing” (pack formulas).
I’ve definitely run into situations with large docs where I’d prefer the latter (though at the end of the day in both cases, optimization is important to avoid long processing times and resulting user confusion/frustration).
I haven’t pushed packs hard with large datasets yet, planning to do some stress testing soon (how parallel do we get? This might scale quite well if each invocation gets its own environment, which I think is how it works?)
What are your thoughts on the advantages and disadvantages of leaning heavily on packs for things that you could do with elaborate native formulas?