At my job we have so many libraries in different parts of the code trying to do the same thing that I don’t even try to memorize anymore. I just look it up.
What’s the order of arguments on this one? Does it modify the data passed in or create a new one? How does it handle nulls?
It’s cheaper to look it up than to debug. So that’s what I do.
"does it work? no."
>googling...
>copy code block
"does it work? kinda..."
>googling...