Memorize vs Search | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 15

Memorize vs Search

Which of these are the preferable skill for a programmer? Sometimes I understand the code, the concepts, but if I have to code on my own, I have to search for references, is it good or should I memorize the most of the languages?

25th May 2017, 11:03 PM
Tiago Soares
Tiago Soares - avatar
24 Answers
+ 8
Just remember code bases! No much more, because: 1- Resources are available anytime (Some IDEs like PhpStorm give you information about all functions offline. You can install them). 2 You will automatically memorize things after practice. 3- Thinking for a way to solve problems instead of using functions etc. may increase your creativity. 4- Searching the web to find the best way enforce you to learn and memorize things. 5- Write your own functions. This is not recommended by some people, but I recommend you. Not always, but sometimes use your own codes instead of frameworks, classes, etc.; because this will increase your motivation, creativity and code skills (like knowing security issues). But don't remember using those! 6- Trying to memorize codes, confuse you and I think help your brain to forget many things! 7- *** Coding is to telling (to the computer) what to memorize, not to memorizing what to tell!
30th May 2017, 1:11 AM
$machitgarha
$machitgarha - avatar
+ 27
the more you know the less you have to search.
27th May 2017, 5:18 AM
NimWing Yuan
NimWing Yuan - avatar
+ 18
I think you're approaching this from an oblique angle. The simple answer is neither and/or both. Practice and experience will make the commonly used features of the languages second nature. No need for what's already in your head/hands. However, as you get that experience, you start working on things that tax your skills... and then here come the references! At this point, it's more about how your prefer to operate, honestly. If your mind is amenable, then memorization can be handy. Personally, I'm a "know where to find the right info" type. However if you're going to solve the problem yourself, then you need to search correctly: focus on the APIs of libraries you need, maybe an example of use, etc. More general searching about what you want to do will likely find someone else's solution, which may well
28th May 2017, 1:32 AM
Jim
Jim - avatar
+ 15
I believe in understanding. You can always check the web for whether you need to escape a symbol (say \") or the correct syntax for something, but it's no good if you don't understand. That's why reading code is very important. As for memory, you'll start remembering more when you do a project or two.
26th May 2017, 6:04 PM
Jamie
Jamie - avatar
+ 13
Do not save information as long as it is available in books and references. To be a programmer not to save a lot of information but to train the brain to think (transported)...
25th May 2017, 11:22 PM
Enas Emad
Enas Emad - avatar
+ 13
I am agree with you all. I think at starting when we go for coding then definitely we have to look a references and this phenomenon we look in our daily life. But when we become proficient in it. We don't require it. So I think that in starting it is helpful for you,but we should not make a Habit.
29th May 2017, 2:46 PM
๐Ÿ’žโ“ขโ“ฆโ“โ“ฃโ“˜๐Ÿ’ž
๐Ÿ’žโ“ขโ“ฆโ“โ“ฃโ“˜๐Ÿ’ž - avatar
+ 8
Understanding > memory Understanding > copying
25th May 2017, 11:12 PM
Rrestoring faith
Rrestoring faith - avatar
+ 8
if you forget somthing..just google it.. that's the programers way ๐Ÿ˜๐Ÿ‘
30th May 2017, 10:01 AM
AmiR z
AmiR z - avatar
+ 6
understand programming . memorizing is for syntax only , i believe that if you can write ur program in a notepad is the best ,u dont explicitly memorize the code but the more u code the more u momerize , i had a test before in a company where they gave me a laptop without internet connection or any kind of resources for code syntax i knew the logic but i couldnt write the syntax in the required duration of the test.
27th May 2017, 7:45 AM
Gohary
Gohary - avatar
+ 5
Nowdays info for just about everything is readily available so memorizing < searching imo. You just need to memorize the important parts. What's of the outmost importance is critical thinking, the ability to decifer AND understand what it is you are reading/searching.
27th May 2017, 12:58 PM
Haris
Haris - avatar
+ 5
With more experience you are automatically less dependent on searching for code snippets and references of others. But in this never quite stops. The problems you are inquiring simply become for sophisticated and special.
28th May 2017, 9:20 AM
MMK
MMK - avatar
+ 5
even web design pros look things up with a search engine
28th May 2017, 9:51 AM
Nomeh Uchenna Gabriel
Nomeh Uchenna Gabriel - avatar
+ 5
Back in the days if I didn't know something I had to ride the bus, go to Barcelona and spend the whole day in libraries and book stores. Then start reading and selecting information. It was a slow process. Todayโ€‹, references are easy to find. But still today... the more you understand, know or remember, the less time you will "waste" finding the answer/solution. It is also true that sometimes, when I am looking for X I find other interesting things that will help me in the future. Things that I wouldn't have found if I would have known X. That's why I wrote "waste", because researching it's never a waste of time...
28th May 2017, 2:18 PM
Alex Blanco
Alex Blanco - avatar
+ 5
both
29th May 2017, 2:17 PM
FireBird
FireBird - avatar
+ 5
Both, of course. Practice will help you memorize the code effortlessly. Just a common sense.
30th May 2017, 10:53 AM
Alexander Lavrenko
Alexander Lavrenko - avatar
+ 3
A programmer is the one who knows the basics of a language and knows how to apply it in his program , a programmer should also be a good researcher as well that's very important
29th May 2017, 3:28 PM
Xmea
Xmea - avatar
+ 2
man ๏ผŒsince 1996 i wrote the first c code in DOS edit program i had no references to view, yes u must force yourself to remember how to coding.
28th May 2017, 12:04 PM
DarkSpy
+ 2
In my career I have understood that anyone can't memorise all. In my opinion understanding is the way, because after wrong, the next time you'll have concept clear. My tip is.. try a lot! ๐Ÿ˜
28th May 2017, 2:23 PM
Federico Viceconti
Federico Viceconti - avatar
+ 2
You can search in Internet. If you practise first by searching in the Internet. Soon you will be coding without searching in Internet. ๐Ÿ˜€. Remember no one will know programming without reading and practising and searching in the internet. You have to practise practise practise. Just dont give up and lastly don't feel ashamed of taking help from Internet. ๐Ÿ‘
29th May 2017, 10:12 AM
Aakash Basnet
Aakash Basnet - avatar
+ 2
based on my experience, i didn't memorized any stuff. I just read a lot of things related to technology. if i don't know something, i Google it. therefore searching is best for me. after practicing this for many years i gained some skills.
29th May 2017, 11:16 AM
Bryan Solidarios
Bryan Solidarios - avatar