DEV Community

Cover image for Don't Memorize What You Can Google!

Don't Memorize What You Can Google!

Code_Jedi on April 09, 2022

This is something that might seem weird for beginners, yet is something that every beginner should know if they want to save their time and frustra...
Collapse
 
diballesteros profile image
Diego (Relatable Code)

I compltely agree although it is worth mentioning that rather than memorizing the function or snippet its understanding the why behind it.

That way you can apply your newly acquired knowledge to anything else.

Collapse
 
onlyphantom profile image
Samuel Chan

Controversial opinion:
The best way to teach somebody not to memorise what they can google is to ask them to write a non-trivial regex.

Yes, even something like a valid phone number with country extension is a regex pattern that every developers google, copy + paste. Unless you’re doing it for fun / learning. Nobody with a job to do has time to expend mental effort on that instead of stackoverflowing it.

Collapse
 
chrisgreening profile image
Chris Greening

XKCD comic where a person has to remember how to use the Unix tar command without googling and not being able to do it

Collapse
 
anuoluwapoae profile image
Anuoluwapo Balogun

Honestly you said the right thing

I used to think I needed to know everything and code without help but it restricted me from achieving anything!

The moment I told myself I would always Google and make Google search my very good friend

I built my first official data app with streamlit 👌🏽

Google search is my friend my very good friend 😁

Now I am more creative and even happier since I stopped trying to know everything but just Google everything

Google I love you ❤🫂

Collapse
 
code_jedi profile image
Code_Jedi

Yeah, Google can honestly be like your second brain when you use it right!

Collapse
 
anuoluwapoae profile image
Anuoluwapo Balogun

👌🏽 yup

Collapse
 
jeoxs profile image
José Aponte

I didn't create doors and I'm sure I understand how a door works.

Collapse
 
tanaj07 profile image
Tanaj khanuja

my whole HTML and CSS knowledge

Collapse
 
brixmavu profile image
Brix Mavu

I think it's how one uses Google. If you've been developing for a while, it makes sense because you know what you're looking for; it's also an easy transition to a new language. On the other hand, a newbie may try to build a website with Google and get frustrated finding all kinds of technologies or the website is slow by throwing in unnecessary stuff. So as a senior developer, you can look at a piece of code and think about tradeoffs. Can it optimise or slow my code?

Second, look through language or framework documentation before consulting Google. That's my take, but in consideration that our intelligence is different, yes, do what gives the best result quickly and Google wins.

 
jeoxs profile image
José Aponte

You're right! Understanding the process and logic is the key here!

Collapse
 
aydzhanahmedov profile image
Aydzhan

Any suggestions when my teacher wants from me to memorize maven dependencies with their specific version :/

Collapse
 
dougbaughman profile image
DougBaughman

Yes, but not just google. Learn to use the Javadocs.