[null, null, null, {"document_url": "https://www.freecodecamp.org/forum/t/how-to-remember-what-javascript-methods-for-arrays-and-strings-are-available/168383", "unformatted_src": "//discourse-user-assets.s3.amazonaws.com/optimized/3X/b/9/b9b997545db5950a563bb089f144d245c0fe8df0_1_450x500.png", "src": "http://discourse-user-assets.s3.amazonaws.com/optimized/3X/b/9/b9b997545db5950a563bb089f144d245c0fe8df0_1_450x500.png", "formatted_filename": "b b db a bb f d c fe df", "rendered_width": 450, "rendered_height": 500}, null, {"document_url": "https://www.freecodecamp.org/forum/t/how-to-remember-what-javascript-methods-for-arrays-and-strings-are-available/168383", "unformatted_src": "//discourse-user-assets.s3.amazonaws.com/original/3X/8/d/8d307a8334ca187bdede03feb022b916abf3560f.png", "src": "http://discourse-user-assets.s3.amazonaws.com/original/3X/8/d/8d307a8334ca187bdede03feb022b916abf3560f.png", "formatted_filename": "d a ca bdede feb b abf f", "rendered_width": 320, "rendered_height": 320}, null]
How to remember what javascript methods for arrays and strings are available?

rna7 2018-01-12 20:11:05 UTC #1

I’m doing the Basic Algorithm Scripting section, but I keep finding myself just looking at the course map just to see what i’ve “learnt”?

How do you remember what you’ve gone through in these lessons?

moT01 2018-01-12 20:15:20 UTC #2

repitition, you can check out the mdn site for reference The JavaScript Array object is a global object that is used in the construction of arrays; which are high-level, list-like objects.

rna7 2018-01-12 20:34:43 UTC #3

So do i just repeat the challenges?
Or is there somewhere else I can just practice using javascript?

IsaacAbrahamson 2018-01-12 21:27:18 UTC #4 

With the hundreds of methods available there is no way you will remember them all unless you are a genius. Remembering the wording for what you are trying to do is not important. Knowing what you want to do is important. For example, I want to get part of a string. I’ve completed the entire front-end section and part of the back-end. I can’t remember if it is:

The bottom line is that I know what I want to do. If I know what I need to do, I can look it up in two minutes and be on my way. That is one of the things I like most about programming - you don’t need to memorize exact wording, or formulas, or expressions. As long as you know what you are trying to accomplish, you can do so in mere minutes with a Google search.

That being said, the more you do, the more you will remember, so repetition is important. And no, don’t keep going back to things you’ve already solved just to solve them again. If you want to try to solve them better, fine, but don’t punish yourself because you can’t remember.

EDIT: I looked up how to do what I wanted to do. It took me probably less than 30 seconds:

owel 2018-01-12 21:48:13 UTC #5

Wouldn’t hurt to have a language reference manual to see all commands/functions available to you.

This is Dash for OSX. But I think there’s an equivalent for PC or online service. dash.png1081x1200 227 KB
sfiquet 2018-01-12 22:04:47 UTC #6

I agree with what others have said. You don’t need to remember absolutely everything. It’s often enough to know that something exists so you can look it up. And MDN is a fantastic resource.

However I have encountered that frustration in the past, going through lessons and exercises on Codeacademy, being able to do them and not remembering anything afterwards. Since then I’ve tried to take notes every time I learn something. It slows down the progress but it helps with retention. When you write your own notes, you have to think about what you write down and that’s what makes it stick. Nowadays I take notes on everything I learn on Evernote. It helps me remember, everything is in one place, and it’s very easy to do a search.

I did a Coursera course called Learning how to Learn and one of the main points was that, in order to learn effectively, you need to learn actively. And also make yourself remember what you have just learned. It’s the act of remembering what you just learned that reinforces the memory for longer term. It’s a good course, worth checking out.

sofaires 2018-01-12 22:11:32 UTC #8

One thing a tend to do is to write everything when im learning something new not just copy and paste it also if you are on windows i use this very handy https://velocity.silverlakesoftware.com

It allow you to download manuals for almost every language and frameworks put there to access them later on if you are offline all in one place software also good to learn new functions for a particular language

BacksSlash092 2018-01-12 22:40:21 UTC #9

There are way too many methods to remember. I think there’s a conception out there specially when you are starting out, that you must remember everything in order to come off as impressive. This is something I had to wrestle with myself.

It’s ok to just use the internet. Computers are really great at remembering things so it’s better to leave it up to them.

Try to put your focus and time on learning how to think and solve problems like a programmer. That could be through coding problems, making apps, etc
If you understand how to solve problems, then it becomes easier to find the tools when you need them.

I haven’t meet a programmer who does not google shit all day regardless of their level of proficiency.

rna7 2018-01-13 07:33:38 UTC #10

Thanks for all your answers guys. I try it all out.

nikrb 2018-01-13 16:58:18 UTC #11

I’ve used this recently: Fast, offline, and free documentation browser for developers. Search 100+ docs in one web app including HTML, CSS, JavaScript, PHP, Ruby, Python, Go, C, C++, and many more.