1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Newbie Question

Discussion in 'Programming' started by SG123, Mar 14, 2009.

  1. SG123

    SG123 New Member

    Joined:
    Mar 14, 2009
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    --------------------------------------------------------------------------------
    Heyy,
    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.
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,293
    Likes Received:
    365
    Trophy Points:
    83
    First you should start to learn some programming languages like PHP / ASP / JSP and then think about building large applications
     
  3. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,012
    Likes Received:
    203
    Trophy Points:
    0
    Occupation:
    Senior Support Engineer
    Location:
    England
    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.
     

Share This Page