Great post, thanks. I would add that memoizing too early may be premature optimization 😉 but it's a great technique for highly-called functions
Totally agree. It could even worsen the performance for trivial functions in some cases where parameters are called in a unique way.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.