<p>Although programming languages are not like human languages. I think an analogy will fit this question.</p>
<p>Can you learn a foreign language by memorising phrases?</p>
<p>Answer: it may help, but you won't be fluent or even close.
You need to learn to program.
However, yes. You will have some memorised phrases. And you will look stuff up.</p>

CC BY-SA 4.0
2023-05-17T20:11:33.053Z
2023-05-17T20:11:33.053Z
ctrl-alt-delor
<p>Available code in the internet are made to be find, however Internet doenst like very much when you ask for code that are not of common use.
If you &quot;learn useful parts of the programming language by heart and learn how to apply those well&quot; then you will be in full control and will not be in a inpass because of inflexible code/framework from the Internet.</p>

CC BY-SA 4.0
2023-04-05T18:51:08.203Z
2023-04-05T18:51:08.203Z
Lucas
<blockquote>
<p>Is it useful to search code from the Internet?</p>
</blockquote>
<p>Yes.</p>
<p>You won't be a good writer without reading a lot. You won't be a good programmer without reading lots of other people's code. As you gather experience, you'll get better at figuring which is good code. That's a big problem for novices in any field though.</p>
<p>Searching code does not mean finding it and pasting it into your project. It means reading to understand what techniques the programmer used, learning those techniques, and then applying it on your own.</p>
<blockquote>
<p>Which one is better way in programming</p>
</blockquote>
<p>Neither is better. You need to be fluent in both.</p>
<p>There's dearth of formal (as in &quot;we paid competent people to write it&quot;) technical documentation for large systems built from disparate blocks, and many of the problems people run into are only &quot;documented&quot; because someone else ran into them and figured a solution, often at some pain. So searching solutions on Internet is a critically useful skill to have.</p>
<p>On the other hand, if all you do is search other people's solutions, you won't innovate much. So there's a balance. You read code to learn, not to copy.</p>

CC BY-SA 4.0
2023-05-29T20:09:15.417Z
2023-05-29T20:09:15.417Z
Kuba hasn't forgotten Monica
<p>Which one is better way in programmig:</p>
<ol>
<li><p>If you have a problem for programming, try to search solution from the Internet.</p>
</li>
<li><p>Learn useful parts of the programming language by heart and learn how to apply those well. Then you can spend your days without Internet just by programming. You get your things done although someone might have put some part of the code somewhere on the Internet.</p>
</li>
</ol>

CC BY-SA 4.0
2023-04-05T07:01:23.310Z
i got 2 college degrees in software engineering and i still Google every 15 min while programming.
A.bakker
CC BY-SA 4.0
2023-04-07T12:54:41.277Z
Why are you making it an either/or choice? What about _3. All of the above_?
gidds
CC BY-SA 4.0
2023-05-10T00:00:52.973Z
The silent assumption here is that there is some universal measure of superiority which is (a) discernible and (b) definitively provable. There isn't.
Flater
<programming>
Is it useful to search code from the Internet?
# Is it useful to search code from the Internet?

(Asked by: username_0 on 2023-04-05)

Which one is better way in programmig:

1. If you have a problem for programming, try to search solution from the Internet.
2. Learn useful parts of the programming language by heart and learn how to apply those well. Then you can spend your days without Internet just by programming. You get your things done although someone might have put some part of the code somewhere on the Internet.

**Tags:** programming

> **Comments:**
> **username_1**: i got 2 college degrees in software engineering and i still Google every 15 min while programming.  
> **username_2**: Why are you making it an either/or choice? What about _3. All of the above_?  
> **username_3**: The silent assumption here is that there is some universal measure of superiority which is (a) discernible and (b) definitively provable. There isn't.  

---

## 3 answers

### Answer by username_4 on 2023-05-17. Score: 3

Although programming languages are not like human languages. I think an analogy will fit this question.

Can you learn a foreign language by memorising phrases?

Answer: it may help, but you won't be fluent or even close.
You need to learn to program.
However, yes. You will have some memorised phrases. And you will look stuff up.


---

### Answer by username_5 on 2023-04-05. Score: 2

Available code in the internet are made to be find, however Internet doenst like very much when you ask for code that are not of common use.
If you "learn useful parts of the programming language by heart and learn how to apply those well" then you will be in full control and will not be in a inpass because of inflexible code/framework from the Internet.


---

### Answer by username_6 on 2023-05-29. Score: 2

> Is it useful to search code from the Internet?

Yes.

You won't be a good writer without reading a lot. You won't be a good programmer without reading lots of other people's code. As you gather experience, you'll get better at figuring which is good code. That's a big problem for novices in any field though.

Searching code does not mean finding it and pasting it into your project. It means reading to understand what techniques the programmer used, learning those techniques, and then applying it on your own.

> Which one is better way in programming

Neither is better. You need to be fluent in both.

There's dearth of formal (as in "we paid competent people to write it") technical documentation for large systems built from disparate blocks, and many of the problems people run into are only "documented" because someone else ran into them and figured a solution, often at some pain. So searching solutions on Internet is a critically useful skill to have.

On the other hand, if all you do is search other people's solutions, you won't innovate much. So there's a balance. You read code to learn, not to copy.


---

