D
D
dzenn2016-07-19 12:47:04
JavaScript
dzenn, 2016-07-19 12:47:04

Copy-paste code or write your own?

Hello!
I noticed on my own that 80 percent of my code I copy-paste and remake for myself. Share your experience. How often do you copy someone else's code? And is it bad?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
N
napa3um, 2016-07-19
@napa3um

Mastery begins with imitation.

E
Egor Ogurtsov, 2016-07-19
@mrdubz

I regularly copy code from SO, changing only classes and IDs. I don't see anything wrong with that.

L
Lander, 2016-07-19
@usdglander

Yes, there is nothing wrong with that. Especially if you take the code from open sources.

M
maxt888, 2016-07-19
@maxt888

Копипастить, но понимать что и для чего. А тупо как codemonkey не приведет ни к чему хорошему.

V
vsuhachev, 2016-07-19
@vsuhachev

Ленивые копи-пастеры уже давно придумали и используют наследование... copy&paste like a boss :)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question