Tech Support Guy banner
1 - 9 of 9 Posts

· Registered
Joined
·
329 Posts
Discussion Starter · #1 · (Edited by Moderator)
If you find code, for some language, in a book, which is designed for teaching the language to you, and there's no license for the code specified, is using it to get better at the language (like creating a library with code from it), supposed to be allowed? I'm not talking about copying other programs from the book, and telling people that you wrote them without help. I'm talking about using some of the code, for shortcuts. I'm not talking about using code you have no idea how it works (once you learn), but code which you have extended as needed, and played with it. Is that supposed to be OK? Isn't that what the book sometimes, was intended for, unless there is a license specified?
 

· Administrator
Joined
·
124,719 Posts
First Name -
Karen
I've edited your post to remove the last two paragraphs which were identical and were quoted from the post that is stickied at the top of this forum. I have no idea why you would include that in your post.

To answer your question, material in a textbook would normally be covered by copyright unless there is some sort of permission granted in the book to use it.
 

· Registered
Joined
·
329 Posts
Discussion Starter · #3 · (Edited by Moderator)
Thanks for fixing my post. I don't know how I included those two paragraphs, and didn't know how to remove them. Bug??? Who knows! Hopefully, it won't do the same here. I'm not trying to.

OK. Let me explain more: The way I began to learn languages (other than HTML), when I learned C++, was like I learned electronics, except from scratch. I first learned the syntax of the language and how the basics worked, like anyone else. But then, the next step for me, was to learn how to take components from the book, and make them my own. I never did this without retyping them, I only did this with typing them, and according to the way they were used in the book.

When I got to this stage, I also never did this, without making them my own, but with ideas based from the books I learned from. Their interfaces, but extended, are used everywhere in my attempts at my real programs. Note though that, because of a lot of data loss, I went through a lot to even get to this point. I was needing to constantly reinstall, in earlier times, to get things right. The OS, I was using, that is.

I basically, have little "real" programs at all. But most of them, rely on a "library", I called desLib, which was my pulled together "interfaces", plus more code that I built from scratch. I tried to go back and find the starting points, but that will require going back to reread all the books, which I'll do anyway. This procedure of learning languages is working well for me.

However, I'm realizing now, that there may be a few more "good" steps to take to learning the languages. I just wanted to make sure I was right, and probably I am. I'm sure no one cares about the interfaces, used, as they implied within the books that they were to be used for that. But I'm not sure if I should go back and blindly rewrite the code or not, whatever first comes to mind, in most cases.

I WILL no matter what, go back and reread the books, whatever I do. No I do NOT, save for Hello World programs or other trivial programs, have the code memorized. But I'm also wondering if I should take my version "down", until I redo the implementations.

I did not EVER use any code in the books to make the same programs, except as tests for my language, just to see if my language works or not, and the code is more than translations in most places there, and/or trivial examples when in my language.

The language is the only really big program I wrote, and of course, it didn't even in part come from the book, but it uses my library I created from reading the books.

So let me simplify. Now that I know how, should I go back and rewrite the implementations (blindly) to whatever first comes to mind, rather than extended versions of what I found in the books? Or do you think no one cares, since I did use the books for basically what they were made for, learning the language, I just have a unique way of learning the languages, and began when I was a minor and could not understand. I always follow when I know better rules, but some things I don't know better than, as they didn't teach in school or anything. Like I said, it was my way of learning things.

I've searched all I could track down, and found repositories with all the books I learned from. I have been focusing on the C++ language and regardless, will, for just a little longer, while I get my language together.

If someone is going to care, I can also rewrite the interfaces. By the way, I'm not saying I just copied the whole thing or anything, it was used in my way to learn, so most of the time it's extended. But there was a certain "base" amount, that I pulled from the books I learned, and while I do think probably no one cares, is my opinion, I just want to get other opinions and be extra sure. I take things seriously, just with my background, of also coming from a home where they were going out of their way to NOT even teach me how to clean a toilet, and trying to PREVENT me from gaining such knowlege, it's understandable that I have to learn things. Seriously, they were trying to prevent me from everything, but because I try my best, instead of being lazy, it all backfired on them, completely. You'd also think that a school system, despite high school, would have taught me more than one way to learn things. Some of it, was learned within school.

HTML works different, that's why I learned it differently. I was trying to go into a field where I might write things for a company, and my attempts here, would be the start. However, for now, I'd shortcuted the registration process, to save on money. I'm glad I waited for now, to learn more about how to learn.

My attempts to get really good at another language, would be, to learn the basics, and then port my library over to it. Like I said, though, I'm depending on you to tell me the future of how to write said library though. I wish they would just list out a license for code in the book, but that's not what's been done. I though that they were supposed to all be public domain previously, but then I ran across something online, telling me I was probably wrong. Like I said, I'm depending on you for how to handle it now. I have the skills now I didn't have before, for handling it, I just need to know whether I should leave it, and go back to make sure I gave all credit, which I was trying to, but it got a little difficult, when I mixed my ideas, or whether I should rewrite blindly the implementations, or just scrap the whole thing and blindily rewrite the whole thing, or what. My language is early in development, and can be changed.

I don't think a lot of people downloaded my language. I get the feeling, from my lack of stars, they don't know what it's for. I want to change that, but not before I make lasting decisions here. I also only put it on there, because I was having trouble putting it on my own site. I hope I'm clear about what I did and didn't do and hopefully why. I guess I'll link my thing here, so that you can look at it. I can tell you exactly what books I learned from, if you need that information.

Like I said, just tell me the best thing to do to handle it, and it will be done right away, there's multiple options. And maybe no one cares the way it is anyway? if I learn more, I need not learn the same way anyway, anymore, as far as either the proccess I used, or from books, if neccessary. I cam accross the information, only when I heard about one book, and it being definately OK to use, and I was like, isn't that what every book is made for? Also, I didn't even have the Internet back then, so I couldn't look them up, even if I knew that. Hopefully you understand this post, thanks!
 

· Registered
Joined
·
329 Posts
Discussion Starter · #4 ·
I just checked. The only one that might have issues, is my library, desLib. I've included (#include), it in other files, but haven't copy pasted anything. By the way, the intent would be, definately, to add to my library, regardless of how I did it.

And I did intend to save, and save and save up, until I could register things, but not until it gets feature complete enough. My language that is. Right now, it's not complete, feature wise, which is probably why people don't want to use it yet. Once they see it being used in a bunch of stuff, they would use it too.
 

· Registered
Joined
·
329 Posts
Discussion Starter · #6 ·
OK. I was worried. I would never intentionally break copyright, but I was afraid I had. In no other circumstances did I even come close to word for word. I just came close to it here. It's close, but not word for word. Most if not all of it, wouldn't even work as intended if not a little different. I had to rewrite the entire Array class, like 3 or four times to get my language so far to work. You can bet I didn't even look at the book for most of that! Any parts, that are word for word, are retyped, not copied from files. Part, like interfaces, is word for word, but even there, just to make a library wasn't word for word, because it won't work otherwise. So I guess I'm OK without any changes. As I go back and reread the books, I'd still like to mention where I started learning about the code from, just out of politeness. But I guess it's mine, as far as I can tell, because it's written in a way that wasn't direct word for word.

As for the programs provided, except for the list program, I have no real interest at this time, of recreating them, or using them for a real purpose. They were great for learning, but I have more unique ideas to work on. The list program, does the same thing as a program I learned about in a book. However, the version I have, was completely rewritten from scratch with no looking or memorizing of the origional program. Just has the same name. I needed to include it, just so that a lot of other things were possible.

Again, the goal isn't to copy programs, whether I can or not, it's to write unique things that no one has ever done before, or most of it will be stuff no one did before. Thanks for your help!
 

· Administrator
Joined
·
124,719 Posts
First Name -
Karen
Well books are for learning and if you learned code from a book then you must be able to use it to create things without it being a copyright violation. I would think if it's copied exactly as Lunarlander posted then that could be an issue.

By the way, I've removed the link to your "stuff" as that can be seen as self-promotion/advertising/spam as it would give you exposure on search engines that you could benefit from which is not allowed here. :)
 

· Registered
Joined
·
329 Posts
Discussion Starter · #9 ·
Sorry. I was just posting the link to try to let people take a look and help me decide. But youve answered the question without that being neccessary. I definately want to check before promoting anyway.

I will do my best to follow that too, just must have missed it. My concept of license files are really needed! Far from that working.

Based off of what was said, i think its ok, but you can bet ill double check it! I guess the interface may end up being copied, just because a lot of times until i extend, it wont work otherwise, so ill go back and make sure i tell people. But a lot of times, even that, is extended.

Nothing is not at least retyped. Bottom line: I think im ok, based off of what was said. But i will CHECK. I will register, when money is saved. If it doesnt go through, that will tell me to rewrite.
 
1 - 9 of 9 Posts
Top