S
S
Spakir2020-11-28 18:29:37
Programming
Spakir, 2020-11-28 18:29:37

How to quickly remember how to write code?

Hello, I'm new to programming, I'm learning javascript, html, css. The fact is that I start writing a program according to the lesson, but in the end I forget 90% and constantly look for tips on how to write this or that line, how to write a function correctly etc., I can rewrite the code like this 10 times but I won’t remember the sequence even by 50%, I do programming every day and rewrite codes every day. Did you have the same? This is fine?

Answer the question

In order to leave comments, you need to log in

8 answer(s)
V
Vladimir Korotenko, 2020-11-28
@firedragon

I generally don't remember. There are ide there are hints, there is documentation, which is now very easy to use. There is a projects folder where projects are located where everything has already been decided. In general, your head holds only what you constantly work with, and already you organize what you worked with so that it would be more convenient for you to find

G
GavriKos, 2020-11-28
@GavriKos

1. Use IDEs, not their likenesses or notepads
2. Improve English
3. Delve into the logic of the code, not copy-paste
4. Delve into the logic of words.
5. Mnemonic rules for remembering to use

D
Dr. Bacon, 2020-11-28
@bacon

You can shock yourself, remember faster.
Shl "how to write a function" I do not remember this, I just know how to find where it is described.

6
6db, 2020-11-28
@6db

I agree with the list above, on my own I can add that you should not drive. Learn everything step by step, try to understand the code, and not memorize, learn to google and analyze.
Everything will work out, good luck!

S
Sheikh Ramil, 2020-11-29
@ramil_bayramov

Then write to check whether he wrote it correctly (that's how it is being studied).
For example:
The task is to make the background red.
Your actions - you write. You check, if it's correct, then well done, if not, then look at the source code and repeat correctly
2 way - learn by doing

A
AndroidDev2015, 2020-11-29
@AndroidDev2015

Use spaced repetitions
https://en.wikipedia.org/wiki/%D0%98%D0%BD%D1%82%D...

Q
qbboddp, 2020-11-29
@qbboddp

With experience. Practice constantly!

A
Alexey Fobius, 2020-12-02
@phobious

based on my experience, I’ll say, write “shit code” and not be afraid of mistakes and difficulties,
because when you take a steam bath with only one method for a couple of days, then remembering it will not be
easier in practice, IMHO

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question