Yeah, it’s actually fairly easy to build one yours...
# suitescript
s
Yeah, it’s actually fairly easy to build one yourself in most cases
s
buy why? why would I want to waste time rewriting ANY function that has already been written, battle tested, and has real unit tests?
s
I wouldn’t for an existing function, only if I was creating it to be memoized in the first place. It really depends upon what point in development I am at. And, if you already have a library loaded that can do it, though, it’s hard to argue against using it.
s
many years of experience has taught me to constantly strive to not write code :)
s
A wise choice. Speaking of writing code, our company finally decided to look into adopting TypeScript. No decisions yet, we are just in the discussion phase, but it seems like more and more JS developers are familiar enough with it (or are coming from another strongly-type language), so there is less argument against TS. The only concern is whether or not we’d want to take the step of rewriting any older code when we touch it, or just leave it alone and use TS for new development only.
s
Good luck with the TS! Also note that you should be able to incrementally adopt TS
supposedly you can just rename a .JS file to .TS and ta-dah, TS will accept it.. then incrementally TypeScriptify it.
s
that should come in handy, then