A
A
Andrey Titov2018-12-07 12:18:20
Work organization
Andrey Titov, 2018-12-07 12:18:20

What gives the skill of writing code from memory?

It seems that even experienced musicians play the notes.
What's wrong with writing programs by copying code?

Answer the question

In order to leave comments, you need to log in

7 answer(s)
L
longclaps, 2018-12-07
@longclaps

Nothing bad, only good.
Always write this as the first line on your resume.

V
Vladimir Proskurin, 2018-12-07
@Vlad_IT

You can't copy the code, you have to copy the meaning. Otherwise, with copy-paste there will be no understanding of how the code works, and it will turn into a nightmare.

R
Rsa97, 2018-12-07
@Rsa97

A programmer is not a musician, but a composer. Imagine a composer who writes music with copy-paste from other works.

A
al_gon, 2018-12-07
@al_gon

Question: What gives the skill of writing code from memory?
Answer: writing code from memory

S
stratosmi, 2018-12-07
@stratosmi

It seems that even experienced musicians play the notes.
What's wrong with writing programs by copying code?

These are different things.
The musician repeats (with his variations) what the composer came up with.
The programmer solves a unique problem.
If he solved it - why would he pay again and again for the same thing, just for a repeat?
Musicians, too, by the way, not only earn money with concerts.
And they sell records.
That you don't understand what you're doing.
A typical mistake, for example:
We take some article with some code examples.
And stupidly copy the code.
But! The author of the article, for the sake of simplifying reading, for the sake of focusing the reader on the main thing, threw out all the error checks from the code!
And you copied the code without realizing that it is impossible to use it in the form given by the author of the article.

M
Maxim Timofeev, 2018-12-07
@webinar

Bad comparison, the musician plays a certain melody according to the notes. If you need to write the same program one by one, then copying looks like a reasonable option. Google is not worth re-writing. But if a composer collects a melody from other melodies, then it's a shit melody. Or in the case of the program govnokod.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question