Thread: When to say when, huh?

  1. #1
    TransparentMember correlcj's Avatar
    Join Date
    Jun 2002
    Posts
    378

    When to say when, huh?

    I hate the chapter on Class. When to say when, huh?

    When to turn in your code with 57 errors? Days like this when your FUBAR and you really don't give a hell, I say what the %$#!

    So when do you programmers say when you struggle and struggle on code. And you really want to move on: Do you say what the... or keep plugin away into nowhere.

    BTW... I dont really want to post the darn code cause its so damn long anywats besides "I really dont give a $#@!.

    Thanks!

    I am really glad we did this. I'll get back tyo work on it now!

    Thanks!!!!


    p.s. I hate enums too! Funny you hate what you cant understand. weird, isnt it??
    "Be formless, shapeless, like water... You put water into a cup, it becomes the cup, you put water into a bottle, it becomes the bottle, you put it in a teapot, it becomes the teapot... Now water can flow, or it can crash, be water my friend."
    -Bruce Lee

  2. #2
    Guest Sebastiani's Avatar
    Join Date
    Aug 2001
    Location
    Waterloo, Texas
    Posts
    5,708
    Maybe you should've stuck to law school, council...
    Code:
    #include <cmath>
    #include <complex>
    bool euler_flip(bool value)
    {
        return std::pow
        (
            std::complex<float>(std::exp(1.0)), 
            std::complex<float>(0, 1) 
            * std::complex<float>(std::atan(1.0)
            *(1 << (value + 2)))
        ).real() < 0;
    }

  3. #3
    >>Do you say what the... or keep plugin away into nowhere.

    Keep plugin. ... Get out the coffee, find some headphones, get comfortable, and prepare to go to work the next day without a wink of sleep. But keep plugin.

    Sometimes taking 5 (or a few hours at the bar) will work wonders when you come back to it (unless you've taken too many hours at the bar...).

    >>Funny you hate what you cant understand. weird, isnt it??

    And yet... I dont hate women at all! Quite the opposite, really.
    "There's always another way"
    -lightatdawn (lightatdawn.cprogramming.com)

  4. #4
    TransparentMember correlcj's Avatar
    Join Date
    Jun 2002
    Posts
    378

    maybe???

    Originally posted by Sebastiani
    Maybe you should've stuck to law school, council...
    but i would be putting a really great mind to waste...
    "Be formless, shapeless, like water... You put water into a cup, it becomes the cup, you put water into a bottle, it becomes the bottle, you put it in a teapot, it becomes the teapot... Now water can flow, or it can crash, be water my friend."
    -Bruce Lee

  5. #5
    CS Author and Instructor
    Join Date
    Sep 2002
    Posts
    511

    Cool

    When I was in school I would always try to start on a program asap. That way I would not have to lose sleep over a silly program.
    Mr. C: Author and Instructor

  6. #6
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    I agree with you... enums freakin suck.

  7. #7
    It's full of stars adrianxw's Avatar
    Join Date
    Aug 2001
    Posts
    4,829
    >>> enums freakin suck.

    Why?
    Wave upon wave of demented avengers march cheerfully out of obscurity unto the dream.

  8. #8
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    > Keep plugin. ... Get out the coffee, find some headphones, get comfortable, and prepare to go to work the next day without a wink of sleep.
    Bad idea, I've found that if I spend more than fifteen minutes on a specific problem it's time for a new approach. If you stubbornly keep working at it you'll fix the problem eventually, but you'll also probably miss a better solution and fail to avoid the many bugs that you may introduce with your sub-optimal solution and lack of sleep.

    >>Funny you hate what you cant understand. weird, isnt it??
    >And yet... I dont hate women at all!
    Women are only difficult to understand because men are so primitive.

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

  9. #9
    Women are only difficult to understand because men are so primitive.
    primitive in the way that we dont make our emotions so confusing when they can be simple, just so women can say they are more complex, when in actuality its just making women harder to comprehend by men
    Last edited by Cgawd; 11-17-2002 at 07:00 PM.

  10. #10
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    >>> enums freakin suck.

    Why?
    lol, the same reason correlcj gave, if you do something wrong when you try to use them, end up with 50 errors, and can't solve them then you tend not to like using them, lol.
    PHP and XML
    Let's talk about SAX

  11. #11
    TransparentMember correlcj's Avatar
    Join Date
    Jun 2002
    Posts
    378

    Thumbs down I 2nd that waldo!

    They just plain suck. But the are useful in occasions
    "Be formless, shapeless, like water... You put water into a cup, it becomes the cup, you put water into a bottle, it becomes the bottle, you put it in a teapot, it becomes the teapot... Now water can flow, or it can crash, be water my friend."
    -Bruce Lee

  12. #12
    Bad idea, I've found that if I spend more than fifteen minutes on a specific problem it's time for a new approach. If you stubbornly keep working at it you'll fix the problem eventually, but you'll also probably miss a better solution and fail to avoid the many bugs that you may introduce with your sub-optimal solution and lack of sleep.
    Mainly I was refering to finding the source of a problem more than fixing one you've already located. I never have problems fixing bugs; The solution just presents itself to me on a silver platter. Its the finding of some of those little buggers thats usually the hardest part. The code just writes itself. ... That and I do fine without sleep. Hell, I'm running on none right now. What can I say? Its the weekend and I had better things to do.

    >>Women are only difficult to understand because men are so primitive.

    Oh come off it. You know you like us muscular, manly, primitive types. *strikes an aloof pose*

    >primitive in the way that we dont make our emotions so confusing when they can be simple

    Heh. Just yesterday I called up a friend and asked her if she wanted to come out with a bunch of us. She tells me shes got too much homework and cant. So I say "Sure thing. Later." I get a call back late that night from her telling me she really wanted to go out and wishing I'd been more insistant. ... Ooookay then. What do they say in these situations? Just smile and nod and back away slowly.

    Peace
    "There's always another way"
    -lightatdawn (lightatdawn.cprogramming.com)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Random crashes? huh?
    By cpjust in forum C++ Programming
    Replies: 28
    Last Post: 07-09-2008, 08:41 PM
  2. Replies: 2
    Last Post: 02-28-2008, 11:51 PM
  3. CPR? Huh?
    By civix in forum A Brief History of Cprogramming.com
    Replies: 4
    Last Post: 08-01-2002, 02:05 PM
  4. Huh? Can anyone explain?
    By Tarls in forum C++ Programming
    Replies: 11
    Last Post: 03-31-2002, 09:46 AM
  5. Huh? Why doesn't it work?
    By Brian in forum A Brief History of Cprogramming.com
    Replies: 8
    Last Post: 02-21-2002, 04:03 AM