I've been programming for four decades, and after all that time I still say the #1 skill good programmers have is the ability to research, looking stuff up as they need it.
You cannot possibly remember every little bit of minutia, and as Dean Witcraft said the more languages you know the more this is true.
There is no shame in having to look something up. That's just part or the trade. Same as how there's no shame in asking questions. As I said recently in another thread smart people go look things up or ask for help when they don't know something.
"Ignorant" isn't an insult, it just means you don't know. You can fix ignorant.