Programming Puns

This is a discussion on Programming Puns within the A Brief History of Cprogramming.com forums, part of the Community Boards category; The boy is smoking and leaving smoke rings into the air. The girl gets irritated with the smoke and says ...

  1. #16
    left crog... back when? incognito's Avatar
    Join Date
    Oct 2001
    Posts
    1,427
    The boy is smoking and leaving smoke rings into the air.
    The girl gets irritated with the smoke and says to her lover: "Can't you see the warning written on the cigarettes packet, smoking is injurious to health!"
    The boy replies back: "Darling, I am a programmer. We don't worry about warnings, we only worry about errors."
    There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!

    "...The only real game I thank in the world is baseball..." --Babe Ruth

    "Life is beautiful"-Don Corleone right before he died.

    "The expert on anything was once a beginner" -Baseball poster I own.


    Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.

  2. #17
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    Instruction to "Enforce In-Order Execution of I/O", known affectionately as E.I.E.I.O.

    If you think C++ is not overly complicated, just what is a protected abstract virtual base pure virtual private destructor, and when was the last time you needed one?
    /* A special reward goes to the first person who can actually answer this */

    -Prelude
    My best code is written with the delete key.

  3. #18
    Unregistered
    Guest
    a protected abstract virtual base pure virtual private destructor is a function that:
    can only be called by members or friends of that class, and
    has no definition in the base class that declares it, but will be defined later in a derived class,
    that (refering to the derived class) shares the multiply inherited base,
    which (refering to the base class) is inherited in a protected way.

  4. #19
    Registered User
    Join Date
    Feb 2002
    Posts
    591
    I know that one..To bad I don't know the english word for it. /*BUMMER no reward.*/

  5. #20
    www.entropysink.com
    Join Date
    Feb 2002
    Posts
    605
    Bummer. Just my luck to know the answer <grin> and I get logged out (see above)

    a protected abstract virtual base pure virtual private destructor is a function that:
    can only be called by members or friends of that class, and
    has no definition in the base class that declares it, but will be defined later in a derived class,
    that (refering to the derived class) shares the multiply inherited base,
    which (refering to the base class) is inherited in a protected way.
    Visit entropysink.com - It's what your PC is made for!

  6. #21
    www.entropysink.com
    Join Date
    Feb 2002
    Posts
    605
    C'mon then, where's my prize??
    Visit entropysink.com - It's what your PC is made for!

  7. #22
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    >C'mon then, where's my prize??
    You don't get a prize when you cheat
    Though I very much like your taste in books, you could have at least tried putting the answer in your own words.

    So...when was the last time you used a protected abstract virtual base pure virtual private destructor ?

    -Prelude
    My best code is written with the delete key.

  8. #23
    left crog... back when? incognito's Avatar
    Join Date
    Oct 2001
    Posts
    1,427
    I learned something about that from STYC++ in 21 Days.........Haven't really used because I am just starting out........might use it some day though.
    There are some real morons in this world please do not become one of them, do not become a victim of moronitis. PROGRAMMING IS THE FUTURE...THE FUTURE IS NOW!!!!!!!!!

    "...The only real game I thank in the world is baseball..." --Babe Ruth

    "Life is beautiful"-Don Corleone right before he died.

    "The expert on anything was once a beginner" -Baseball poster I own.


    Left cprog on 1-3-2005. Don't know when I am coming back. Thanks to those who helped me over the years.

  9. #24
    www.entropysink.com
    Join Date
    Feb 2002
    Posts
    605
    Ok, Ok,

    Though I very much like your taste in books, you could have at least tried putting the answer in your own words.
    Worse than that I'm afraid......Google search / Cut & paste <hangs head in shame>

    So...when was the last time you used a protected abstract virtual base pure virtual private destructor ?
    Wouldn't know one if it bit me on the leg

    (edit) For my penitance(sp) I'll do some research today and post an explanation tonight. That's my real problem - I can usually grasp concepts quite easily, it's sitting down and really coding I have problems with!
    Last edited by RobR; 03-20-2002 at 02:00 AM.
    Visit entropysink.com - It's what your PC is made for!

  10. #25
    www.entropysink.com
    Join Date
    Feb 2002
    Posts
    605
    protected abstract virtual base pure virtual private destructor

    Destructor - Code called when an object goes out of scope

    Private - Can only be called by a member or friend of the class

    Pure virtual - A function that contains no code, and can only be used to inherit new classes from. You cannot create objects from a pure virtual function.

    So far.....

    A pure virtual private destructor is a destructor defined in a class derived from the pure virtual function that can only be called by a member or friend function of the class.

    (How'm I doing??)

    Virtual Abstract base class - one that contains only pure virtual functions - i.e. at this time we don't know what the object will be, only it's template (ex. vehicle may be an abstract base class 'cos we could use it to create a car, or a bike etc).

    Protected - It's implementation is hidden (encapsulated) from us - we can't see the code, we can only derive from it.

    So a protected abstract virtual base pure virtual private destructor is a destructor that has to be derived from an implementation-hidden template class and can only be called by a member or friend of the derived class.

    Still haven't got the foggiest when I would need to use it, but I would hazard a guess that I don't need to because one will be automatically created for me if I don't specifically implement one.

    <PHEW>

    Now do I get my reward???
    Visit entropysink.com - It's what your PC is made for!

  11. #26
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    >How'm I doing??
    Considerably better

    >Still haven't got the foggiest when I would need to use it
    Neither do I, and I've been working with C++ for years.

    >Now do I get my reward???
    Okay, I was kind of sneaky with that reward concept. You see, I knew that just about everyone ( with the exception of Sorensen perhaps ) had no idea what it was or when it was needed. If someone wanted to answer correctly then they'd have to do quite a bit of research. Your reward is the knowledge you gained while trying to figure it out

    p.s. Expert C Programming is still a very good investment if you can find it. Too bad it's out of print.

    -Prelude
    My best code is written with the delete key.

  12. #27
    www.entropysink.com
    Join Date
    Feb 2002
    Posts
    605
    Tell you what. Lend me your copy, promise I'll let you have it back real soon
    Visit entropysink.com - It's what your PC is made for!

  13. #28
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,796
    >Lend me your copy, promise I'll let you have it back real soon
    I don't lend out my good books, especially the ones that are really hard to find, but I can let you have C by Example if you need a foot rest or something.

    -Prelude
    My best code is written with the delete key.

  14. #29
    Unregistered
    Guest
    any more jokes?

  15. #30
    5|-|1+|-|34|) ober's Avatar
    Join Date
    Aug 2001
    Posts
    4,429
    When computer programmers are hungry they take mega-bites

    Old programmers never die, they just can't C as well

    Old programmers never die .. they just lose their memory

    Technically speaking a programmer's favorite subject with his
    boss is usually arrays

    Local Area Network in Australia: the LAN down under

    Oh what a tangled web we weave. On the Internet.

Page 2 of 3 FirstFirst 123 LastLast
Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21