I want remember methods from Python programming language with description. How can I easily do this without using memory palace?
Example:
I want remember methods from Python programming language with description. How can I easily do this without using memory palace?
Example:
It might be helpful to practice with each of them before trying to memorize them. I’d read the description and documentation, and then invent small exercises like the ones below (or ask an LLM to create exercises like these from ChatGPT).
I think that struggling a bit with code and errors helps make the information memorable, because the brain gets forced into remembering the information. It also helps build muscle memory. After doing some exercises, the information will probably stick better when you try to use mnemonics. The peg list is another method that can work for collections of methods like that.
nums = [1, 2, 3]
Use a method on nums so that its new value is [1, 2, 3, 4].
Answer:
nums = [1, 2, 3]
nums.append(4)
nums # => [1, 2, 3, 4]
nums = [1, 2, 3]
more_nums = [4, 5, 6]
Use a method on nums to combine it with more_nums so that the value of nums is [1, 2, 3, 4, 5, 6].
Answer:
nums = [1, 2, 3]
more_nums = [4, 5, 6]
nums.extend(more_nums)
nums # => [1, 2, 3, 4, 5, 6]
Note the difference between this method and combining lists with + (the value of nums doesn’t change if you use +).
Can we reuse peg list? Such as for lists, dictionaries, tuples, sets method?
Python’s built-in methods even have easy to understand names, just by reading, you can guess what they do. Clear will clear elements, copy will copy, insert for inserting something, pop for popping out, reverse for reversing, and so on…
This also teaches a valuable lesson, that if we make a method ourselves, the names should be in a way that is easy to read, and just by reading it, we can guess what it does.
You can make longer peg-lists with things like cv-system (100 items) or CVC system (1000 items) or any number system. When I was memorizing functions in a couple of languages, I used my 1000 item peg list.
Also check some of the discussions in computer-programming
I think it’s important to actually use the methods/functions and not just memorize them. After using them for a while, the mnemonics will probably drop away and you’ll just know them by muscle memory.
I am a master procrastinator. Today I remembered string, around 40+ string methods , operator using memory palace anki. My problem is that I can’t be addicted and consistent to my study/work.
I’ll definitely try these.
Yes. I have noticed.
That’s nice progress too. Keep going
How far are you now?