News for hackers. Stuff that matters.
Re:Never use a dependency that you could replace with an aft... by reificator on Tuesday August 11, 2020 @03:57PM (#24125223)
Yes, particularly when you know the types that will be passed in. True that typechecking in JS can be a little timeconsuming, so it might take 10-15 for me to write a general purpose left pad.

Also I seem to remember that someone benchmarked the cached version and found it to be slower than the naive approach anyway. I could be mistaken there.

There are no comments on this comment yet.