Y
Y
Yura Berezovsky2017-03-23 12:44:15
C++ / C#
Yura Berezovsky, 2017-03-23 12:44:15

Is it bad if I write code based on others?

I write code like this: I
analyze ready-made scripts
I find what I need I
adjust it to my project

Answer the question

In order to leave comments, you need to log in

3 answer(s)
T
Tom Nolane, 2017-03-23
@Jurajkeee

90% should do it!
1 rule of a hacker (more precisely , a computer programmer, coder) - do not create a bicycle, but use the finished one.
If to increase the skill, then of course it’s better to invent / develop / write it yourself.
If for everything else - the sooner you write (especially taking into account / improvements to your project) - the better for everyone. There will be time to drink beer and watch football) or be with your family.
ps to increase the skill, you can use a toaster in particular - trying to answer / solve questions +
try refactoring in someone else's code +
when you come across the fact that there is not even an approximate analogue - of course you will have to decide for yourself, BUT, you don’t just do ctrl + c ctrl + v, but adjust the code to your needs and at least a little understand what it is doing (i.e. e. you increase the skill). And it’s better to collide 1-2 times in an n-time interval, when you yourself will decide SUCH with your hands and head, than to waste time on every sneeze
in 90% of cases - NO
p.s.s.
the ability to find someone else's code (understand it) that will work + modify it (embed) is also a very, very important skill!
03aee4062f1347ed96f49f044ebe25b3.PNG

F
Fat Lorrie, 2017-03-23
@Free_ze

Everything you need to do with your head, to delve into the code that you copy to yourself and only after making sure that it performs your task in the best way - to undermine and file it to yourself. And mindlessly copy-pasting from anywhere is even worse than writing bicycles.

G
GreatRash, 2017-03-23
@GreatRash

This is all good until you come across a task that no one has done before you. This is where the lack of skill comes into play.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question