Live data from Hacker News

Poll: Have you ever "borrowed" other people's code/layout etc?

news.ycombinator.com

21–30 of 39 posts

Re: Poll: Have you ever "borrowed" other people's code/layout etc?

#21
A small javascript function to work with AJAX (years ago, before jQuery), some minor css images (background fades etc since I didn't want to open photoshop just for that), the biggest thing is probably a layout inspiration, although that's changed a lot since the first time I borrowed it.

Re: Poll: Have you ever "borrowed" other people's code/layout etc?

#25

Borrow, yes. Be inspired, yes. But if I take some code/design and integrate it without fully understanding it (I'm discounting in this things which are meant to be used so- modules, plugins, and so forth) I feel like it's intellectually dishonest. Of course I won't understand fully in intricate detail the codestack of an apache module. But view-source is useful as a learning tool: how did they do it, how can I do som…

That long of a reply from a mobile? I couldn't find the time to write that out unless I was sitting on the train/bus. Kudos.

Re: Poll: Have you ever "borrowed" other people's code/layout etc?

#26
all of human cultural development (it seems to me) depends on borrowing what came before and adding your own differences to it. i even think it's possibly a generalizable pattern echoed in natural phenomena like language change and biological evolution. why should code be any different?

Re: Poll: Have you ever "borrowed" other people's code/layout etc?

#27
It seems that you're coming at this from a "borrowing is bad" perspective.

Is it bad if I use code from a GPL'd project in my own GPL'd project? I used some code (about 100 lines) from Inkscape in something I wrote recently that needed to render SVG images into another format.

So, yes, I used someone else's work. They said that I could, and I credited them. (They actually used the algorithm from the SVG standard, but didn't cite it. Is that bad? If so, does the badness in that case transfer to me?)

Post reply on HN