Don't copy my work!



  • Take a look at the code comments by this thread's creator. The link is worksafe --  goes to google groups, specifically the comp.lang.c++ usenet group:



    It just made me laugh.  If you're so worried, why post its entirety on usenet?



  • // COPYRIGHT CMDR DOUGLAS I. PEREIRA 07/10/06
    // ALL UNAUTHORIZED THIRD PARTY USE IS PROHIBITED
    // I HAVE WORKED VERY HARD AND HAVE SPENT HOURS OF
    // TIME DEVELOPING THIS. DO NOT COPY IT OR I WILL SUE YOU
    // ************************************************************

     

    thats frigging adorable... they can (barely) do hello world and think they need to copywrite it... :D

    (and is he calling himself commander?)



  • He does say later in the thread that he's a high school freshman. 
    He's almost certainly younger than 16.  So I'm willing to cut him
    some slack.  I know the code I wrote at 15 isn't anything I'd
    want people to see now.  (Of course, I didn't have the Internet
    for advice or examples.)




  • Yeah, I posted the link before he mentioned that.  It's not quite as funny that way, unfortunately.



  • Oh man... it just gets better and better:


    <font class="fixed_width" face="Courier, Monospaced">I hereby authorize you to use this code for a one-time test. After that, you must purge your computer memory, and also your short-term and long-term memory of this code. I won't sue YOU; that was just in case a software company, ie MS, tried to use it in production code. Test away. </font>



  • I'm a HS junior right now, and while very little I coded 2 years ago is really production-quality, I sure as heck didn't put I WILL SUE notices on code I didn't understand.

    Then again, this looks to be a class-type thing.  Smart and shared pointers have been implemented before - ever heard of Smart Pointers?

    Not to mention, the 2 AP CS classes I took in high school were both more rigorous than the CS 265 class I took at college this summer.  The guy wants to take classes at a CSU, which will probably be what I was stuck with, with no regard for prior experience/studies.



  • I feel sorry for the kid.

    He's already copped a bit of flack, and now he's been posted to TDWTF. I hope he doesn't give up just because there are a few arseholes in this world.



  • @Some Idiot said:

    I feel sorry for the kid.

    He's already copped a bit of flack, and now he's been posted to TDWTF. I hope he doesn't give up just because there are a few arseholes in this world.



    If he has at least learned that the best way to avoid the attention of arseholes is to not be a jackass, then it was worth it. More people need to learn that lesson, prefereably when they're younger.


  • Actually, one of my Teachers in school does this copyright notice thing with every little
    piece of example code he writes, no matter how small and not-innovative-at-all. It's kind of awesome-scary when you see
    something along the lines of:


    /***********************************
    * HelloWorldApp *
    * ============= *
    * *
    * Prints out "Hello World" *
    * Date: 08/06/2004 *
    * Copyright: John Doe *
    ***********************************/
    public class HelloWorldApp {
    public static void main(String[] args) {
    System.out.println("Hello World");
    }
    }

    Also, note the nice little "*"'s at the end of every line, which would
    make working with a comment written that way a serious pain. Shining
    example, he is.



  • @halcyon said:

    Actually, one of my Teachers in school does this copyright notice thing with every little
    piece of example code he writes, no matter how small and not-innovative-at-all. It's kind of awesome-scary when you see
    something along the lines of:


    /***********************************
    * HelloWorldApp *
    * ============= *
    * *
    * Prints out "Hello World" *
    * Date: 08/06/2004 *
    * Copyright: John Doe *
    ***********************************/
    public class HelloWorldApp {
    public static void main(String[] args) {
    System.out.println("Hello World");
    }
    }

    Also, note the nice little "*"'s at the end of every line, which would
    make working with a comment written that way a serious pain. Shining
    example, he is.



    lots of teachers copywrite their lecture notes and lesson plans.  the code was probably part of his lecture notes. 
    also, I'de bet he uses an IDE that astrik boxes comments if he wants.


Log in to reply