Go4Expert (http://www.go4expert.com/)
-   Programming (http://www.go4expert.com/forums/programming-forum/)
-   -   Newbie Question (http://www.go4expert.com/forums/newbie-question-t16539/)

SG123 14Mar2009 10:17

Newbie Question
I am just starting out in the world of programming, and I have a few really silly questions. My first question is say you follow a tutorial on the internet on how to build a shopping cart, can you then use that code and everything you learnt from it to build a website for a client? Second question is, say someone posts how to build something, can you use their code? If you think about it, either way your both writing the same code, just in a different method, so it would be a lot easier if you could just use their code. Thanks.

shabbir 14Mar2009 10:29

Re: Newbie Question
First you should start to learn some programming languages like PHP / ASP / JSP and then think about building large applications

xpi0t0s 15Mar2009 04:05

Re: Newbie Question
1. There's a lot more to websites than just the shopping cart and some sites don't have a cart (or anything similar) so I'd say the answer is no. You could use the cart as the starting point but there's a lot more you'd have to add.

2. If you use someone else's code then you have to abide by their terms and conditions. They automatically get copyright on anything they create, just as you do, and they can sue you if you have copied their code (just as the Tolkien estate could sue you if you copied Lord of the Rings and started passing it off as your own work). Using someone else's code is NOT the same thing as writing the code to do the same sort of thing from scratch and you may have heard about "clean room implementations" - that is where, say, AMD wrote their implementation of Intel's x86 assembly language.

Yes it is a lot easier but you may have to pay them fees for using the results of their labour. Not everyone works for free.

All times are GMT +5.5. The time now is 22:49.